What is a DWORD?

Started by
4 comments, last by Fuzztrek 21 years, 7 months ago
Hey all, I was wondering.. what is a dword? is it a typedef-ed double or something? And, more to what I would like to know.. what is it''s format.. or.. formatter, for functions like printf and sprintf? Thanks in advance!! - Kyle ¬_¬
Advertisement
unsigned long, %d
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
A word is usually 16-bit. DWORD or double word is 32 bit. Probably unsigned as well.
thanks!

¬_¬
LessBread: %d is signed decimal. Correct specifier for unsigned long is %u.
quote:Original post by CWizard
LessBread: %d is signed decimal. Correct specifier for unsigned long is %u.


True. %d will still work though - in 2^31 - 1 cases
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man

This topic is closed to new replies.

Advertisement