| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:6003 |
| From: | lolo <lolo AT einev0 DOT einev DOT ch> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Syntax problem |
| Date: | Mon, 15 Jul 1996 17:27:56 +0200 |
| Organization: | Ecole Polytechnique Federale de Lausanne |
| Lines: | 18 |
| Message-ID: | <31EA637C.3747@einev0.einev.ch> |
| NNTP-Posting-Host: | sicra009.epfl.ch |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hello there.
I'm coding a texture viewer for quake and in The Unofficials Quake Specs
I have this structure :
typedef struct
{ long width;
long height;
char pixels[width*height];
} toudoudou;
but the use of the variables width and height for char pixels[]
don't work with DJGPP.
Is it because the 2 variables and pixels[] are in the same structure
definition ?
How to do that ?
Thanks
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |