// sizes.cpp : Display the lengths of various C++ type in Windows.

#include <stdio.h>
#include <tchar.h>
#include <windows.h>

int _tmain(int argc, _TCHAR* argv[])
 printf("%d boolean\n", sizeof( boolean ));
 printf("%d BOOLEAN\n", sizeof( BOOLEAN ));
 printf("%d byte\n", sizeof( byte ));
 printf("%d BYTE\n", sizeof( BYTE ));
 printf("%d char\n", sizeof( char ));
 printf("%d unsigned char\n", sizeof( unsigned char ));
 printf("%d TCHAR\n", sizeof( TCHAR ));
 printf("%d wchar_t\n", sizeof( wchar_t ));
 printf("%d WCHAR\n", sizeof( WCHAR ));
 printf("%d short\n", sizeof( short ));
 printf("%d USHORT\n", sizeof( USHORT ));
 printf("%d int\n", sizeof( int ));
 printf("%d size_t\n", sizeof( size_t ));
 printf("%d BOOL\n", sizeof( BOOL ));
 printf("%d long\n", sizeof( long ));
 printf("%d DWORD\n", sizeof( DWORD ));
 printf("%d void*\n", sizeof( void* ));
 printf("%d float\n", sizeof( float ));
 printf("%d long long\n", sizeof( long long ));
 printf("%d double\n", sizeof( double ));

 return 0;