word是2个字节长没错吧?
在C++ Primer 英文第4版
P35页有一句话:
Although the exact sizes can vary from one machine to another, we ususally refer to a chunk of 8 bits as a "byte" and 32bits, or 4 bytes, as a "word".
还有P34页:
Typically, shorts are represented in half a machine word, ints in a machine word,
为什么说word是4个字节呢?
在windef.h定义如下:
typedef unsigned long DWORD;
typedef unsigned short WORD;
是不是primer的word不作WORD理解?