Last Updated 2014/05/16
Programming Tips Visual C++ ‘¼  õ ˆø 
ƒf[ƒ^‚Ɣ͈Í
2014/05/16

ƒf[ƒ^Œ^ ƒTƒCƒY ˆÓ–¡ ”͈Í
bool 1 Byte ˜_—Œ^ true(0ˆÈŠO) / false(0)
char 1 Byte •¶ŽšŒ^ -128 ` 127
unsigned char 1 Byte •„†‚È‚µ•¶ŽšŒ^ 0 ` 255
wchar_t 2 Byte ƒƒCƒh•¶ŽšŒ^ -
short (int) 2 Byte ’Z’·®”Œ^ -32768 ` 32767
unsigned short (int) 2 Byte •„†‚È‚µ’Z’·®”Œ^ 0 ` 65535
int 4 Byte ®”Œ^ -2147486948 ` 2147483647
unsigned (int) 4 Byte •„†‚È‚µ®”Œ^ 0 ` 4294967295
long (int) 4 Byte ’·®”Œ^ -2147486948 ` 2147483647
unsigned long (int) 4 Byte •„†‚È‚µ’·®”Œ^ 0 ` 4294967295
float 4&npsb;Byte ’P¸“x•‚“®¬”“_Œ^ -3.4E+38 ` 3.4E+38
double 8&npsb;Byte ”{¸“xŽÀ” -1.7E+308 ` 1.7E+308
long double 8&npsb;Byte Šg’£¸“x•‚“®¬”“_Œ^ -1.7E+308 ` 1.7E+308@
__int8 1&npsb;Byte Šg’£®”Œ^ -128 ` 127
__int16 2&npsb;Byte Šg’£®”Œ^ -32768 ` 32767
__int32 4&npsb;Byte Šg’£®”Œ^ -2147483648 ` 2147483647
__int64 8&npsb;Byte Šg’£®”Œ^ -9223372036854775808 ` 9223372036854775807


ŽQÆ
‘OŒã‚ÌTips
ƒf[ƒ^‚Ɣ͈Í

DSS ProgrammingTipsCGI Ver2.01