From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Data types Date: Tue, 20 Jan 1998 22:57:25 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 20 Message-ID: <34C57225.6649@cs.com> References: <34C53551 DOT D297940B AT jet DOT es> NNTP-Posting-Host: ppp240.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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?, ...). The simplest solution is to write a program that prints the sizeof() each of the types that you care about. I confess to confusion as to why you didn't just try this yourself before asking us. :-) FYI, DJGPP is a 32-bit compiler; therefore ints and pointers are both 32 bits. -- --------------------------------------------------------------------- | John M. Aldrich |"Men rarely (if ever) manage to dream | | aka Fighteer I |up a god superior to themselves. Most | | mailto:fighteer AT cs DOT com |gods have the manners and morals of a | | http://www.cs.com/fighteer |spoiled child." - Lazarus Long | ---------------------------------------------------------------------