From: "Daniel Fauré" Newsgroups: comp.os.msdos.djgpp Subject: Re: trouble compiling Date: Mon, 29 Jun 1998 13:34:49 +0200 Message-ID: <899120399.11131.0.spot.c3ade179@news.demon.nl> References: <6n749v$sqr$1 AT fir DOT prod DOT itd DOT earthlink DOT net> NNTP-Posting-Host: dynaguy.demon.nl Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > >int main() >{ > > allegro_init(); > set_color_depth(8); > set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0); > text_mode(0); > char *c; > int p; > p=3; > itoa(p, c, 10); // call frame traceback here > > textout(screen, FONT, c, 10, 10, 15); // parse error before ',' here >} Well... this should be quite obvious, FONT should be font, FONT is the struct, used to declare for example the default "font". As for the other error... I don't get it. This piece of code compiles fine, then displays "3" and returns to my IDE without too much trouble. Sorry, can't help you there. Daniel Faure