------------------
Drago
The use of DWORD's
Started by drago, Aug 20 1999 08:33 PM
2 replies to this topic
Sponsor:
#2 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 20 August 1999 - 12:20 AM
in 32 bit mode unsigned long = unsigned int = dword. (you may also have without unsigned but that depends on the compilators defaults...)
#3 Members - Reputation: 122
Posted 20 August 1999 - 08:33 PM
sizeof(int) is rarely defined in books, since it differs between systems. It really differs between compilers, but a good compiler will define an int to be the same size as a single cpu word. That is, on a 32 bit machine, an int will take 32 bits == 4 bytes.
<rant>
This is of course assuming that compilers keep up with the systems they're built for. Pentiums have a 64 bit cpu, if only their operating system(s) would actually support it.
</rant>
White Fire






