Message-ID: <34DCC5FD.74D9@quantum.de> Date: Sat, 07 Feb 1998 21:37:17 +0100 From: Tom Chojnacki Reply-To: chojnack AT quantum DOT de Organization: Quantum Software GmbH, Dortmund, Germany MIME-Version: 1.0 To: Michael Matczynski CC: djgpp AT delorie DOT com Subject: Re: 8 Byte Integer References: <3 DOT 0 DOT 32 DOT 19980207131923 DOT 0083a980 AT dataplusnet DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Michael Matczynski wrote: > > Is there a way so I can specify the size of an integer in DJGPP. There is 'sizeof' operator in C language. Simply use: printf("size = %d", sizeof(int)); and you will get the size of the specified type in bytes. 'long' and 'int' types have both 4 bytes width. And there is 'long long' type which has width of 8 bytes. Tom