delorie.com/archives/browse.cgi | search |
From: | Nate Eldredge <neldredge AT hmc DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Allegro,BITMAP *buffer; |
Date: | Thu, 16 Sep 1999 22:12:55 -0700 |
Organization: | Harvey Mudd College |
Message-ID: | <37E1CDD7.A2D189C6@hmc.edu> |
References: | <37E1B735 DOT C564EEB AT gtcom DOT net> |
NNTP-Posting-Host: | mercury.st.hmc.edu |
Mime-Version: | 1.0 |
X-Trace: | nntp1.interworld.net 937545157 59597 134.173.45.219 (17 Sep 1999 05:12:37 GMT) |
X-Complaints-To: | usenet AT nntp1 DOT interworld DOT net |
NNTP-Posting-Date: | 17 Sep 1999 05:12:37 GMT |
X-Mailer: | Mozilla 4.61 [en] (X11; U; Linux 2.2.13pre7 i586) |
X-Accept-Language: | en |
Lines: | 28 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
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 <allegro.h>? -- Nate Eldredge neldredge AT hmc DOT edu
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |