Date: Tue, 20 Jan 1998 20:07:43 -0500 (EST) Message-Id: <199801210107.UAA22018@p2.acadia.net> To: "Jordi Pérez" Subject: Re: Data types Cc: djgpp AT delorie DOT com References: <34C53551 DOT D297940B AT jet DOT es> in-reply-to: <34C53551.D297940B@jet.es> From: swarnerx3 AT acadia DOT net (Scott Warner) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Precedence: bulk something like #include int main(void) { int i; char c; float f; printf("Size of integer: %d\n", sizeof(i); printf("Size of char: %d\n", sizeof(c); printf("Size of float: %d\n", sizeof(f); return 0; } (and so on) is the general idea. I believe sizeof(int) is equivelant to sizeof(i) in the above. WORD and DWORD (and the like) are most likely preprocessor macros that you can find if you look carefully through the header files. In message <34C53551 DOT D297940B AT jet DOT es>, "Jordi Pérez" wrote: > Please, excuse my stupid question (and my english), but i can't find > info about the data types in DJGPP (char, int, float, pointers...). > I want to know how long they are (int = WORD?,long int = DWORD?, ...). > Thanks > > ------------------------------------------------> > Jordi Perez Bou, jordimln AT jet DOT es > alternative mail: e6707357 AT est DOT fib DOT upc DOT es > > > > >