delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/16/13:59:42

Message-ID: <00bc01bf17fd$ce8bdae0$4211883e@oemcomputer>
From: "doug" <DOUG AT wedge93 DOT freeserve DOT co DOT uk>
To: <djgpp AT delorie DOT com>
Subject: Re: How big is a SHORT?
Date: Sat, 16 Oct 1999 18:41:49 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

Hammy wrote:
>>
>> so, how many bits is it?
>> most books say it it the same as an int, but when I make a structures
using
>> int and shorts, they give different results?


I think you mean, most books say that a short is an int,
short int = 16 bit
long int  = 32 bit
int = compiler dependent.
or that seems to be the impression I get!

Craig


- Raw text -


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