//精确的定义1位,2位,4位长度的变量
//
#include "stdafx.h"
//
#ifndef BYTE//1
typedef unsigned char BYTE;
#endif
#ifndef WORD//2
typedef short int WORD;
#endif
#ifndef DWORD//4
typedef long int DWORD;
#endif
//
int _tmain(int argc, _TCHAR* argv[])
{
printf("BYTE = %d,WORD = %d,DWORD = %d/n",
sizeof(BYTE),sizeof(WORD),sizeof(DWORD));
return 0;
}
//