C++ and C# Type Lengths

Play Now

konnichiwa

LOMCN VIP
VIP
Mar 26, 2003
261
0
132
Sorry for asking this here but i can't get on MSN..


C++ C#
DWORD long
LONG int
WORD short
SHORT ?????

can anyone fill in the last one?

cheers.

Konni
 
Last edited:

YouKnowWho

Dedicated Member
Dedicated Member
Dec 12, 2003
60
0
32
¤]´)÷¤--§îr Äürøñ--¤÷(`[¤ said:
Short = int16?
Long = int64?
DWORD = int32?
WORD = int32?

I think they're right...

With C++;

long = 32 Bit (signed)
DWORD = 32 Bit (Unsigned long)
WORD = 16 Bit (Unsigned short)
short = 16 Bit (signed)