Message-ID: <37E26C66.DDF838D1@gtcom.net> From: Krogg X-Mailer: Mozilla 4.61 [en] (Win95; U) X-Accept-Language: en-US,en-GB,en,ja MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro,BITMAP *buffer; References: <37E1B735 DOT C564EEB AT gtcom DOT net> <37E1CDD7 DOT A2D189C6 AT hmc DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 45 Date: Fri, 17 Sep 1999 12:29:26 -0400 NNTP-Posting-Host: 12.16.179.16 X-Trace: eagle.america.net 937585996 12.16.179.16 (Fri, 17 Sep 1999 12:33:16 EDT) NNTP-Posting-Date: Fri, 17 Sep 1999 12:33:16 EDT Organization: 24hoursupport.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nate Eldredge wrote: > > Krogg wrote: > > > > Please help...I want implement double buffering in my current > > project but i cant seem to get this line to work: > > > > BITMAP *buffer=create_bitmap(1024,768); > > > > If i comment it out my program will compile and > > run fine and if i load some other program that > > uses the same code it will compile fine as well.. > > Does my program have a hex on it? > > > > the error i get is: > > > > Compiling: XXXX.c > > In function `main': > > XXXX.c(39) Error: parse error before `*' > > There were some errors > > > > It dont make any sense,cause is i comment it out > > it will compile fine... > > What could i be doing wrong?...I am at my wits end. > > Did you #include ? Yes,Like i say every thing works fine if i comment out that line and dont use the buffer.I cant figure why this is happining.... -- |"""""<`.THE PRINCE ,'>"""""""""""""""""""""""""""""""""""| | `.`/""""""\,',' my sig is too big, | |SEE HIS ( / \ \' SEE HIS but its really cool. | | FACE \/<> <>\/ SMILE | | / W \ Visit my ascii art site: | | ,'\_|||||_/`. http://www.gtcom.net/~krogg/ascii/ | | ,',' ||| `.`. krogg DOT no DOT to DOT spam AT gtcom DOT net | |____<,' TIME TO DIE `.>____Remove no.to.spam to reply____|