View Single Post
# 10 28-01-2006 , 08:03 PM
MattTheMan's Avatar
Registered User
Join Date: Apr 2005
Location: Fairfield, CT
Posts: 2,436
This is the size of several types of c++ variables:

Identifier Memory Size
in Bytes
----------------------------------
char 1
unsigned char 1
signed char 1
int 4
short int 2
unsigned int 4
unsigned short int 2
long int 4
unsigned long int 4
float 4
double 8
long double 8


Live the life you love, love the life you live