delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/17/01:30:15

Xref: news2.mv.net comp.os.msdos.djgpp:6068
From: jrubin AT bix DOT com (jrubin)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Syntax problem
Date: 17 Jul 1996 03:11:35 GMT
Organization: BIX
Lines: 12
Message-ID: <4shll7$fdl@news2.delphi.com>
References: <31EA637C DOT 3747 AT einev0 DOT einev DOT ch>
NNTP-Posting-Host: bix.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

The typedef you gave:

typedef struct
{ long width;
  long height;
  char pixels[width*height] } toudoudou;

is not legal C or C++. I suspect it is just an informal
specification of the structure required at runtime.
It is meant for humans, not compilers.

Josh Rubin

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019