Dword ?

This is a discussion on Dword ? within the Windows Programming forums, part of the Platform Specific Boards category; What is DWORD and how can i use it in my application?...

  1. #1
    Unregistered
    Guest

    Question Dword ?

    What is DWORD and how can i use it in my application?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Its a 32bit int but its also unsigned

  3. #3
    Assembler + Basic from 79
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    22
    What Fordy said, but to be more specific.

    A bit = 1 bit
    A nibble = 4 bits
    A byte = 8 bits
    A word = 16 bits
    A double word (Dword) = 32 bits or 2 words (thus, double)
    A quad word = 64 bits or 4 words (thus, quad)
    A Double Quad...blah.. blah.. you get the idea.

    None of these definitions include the use of the MSB for twos complement or in C++ terms, like Fordy said, their unsigned.

    What can you use a 64 bit starage variable for?
    1. Counting all the ways their are of calling a binary value a binary value.
    2. Counting the number of propheads like me who actually know a lot of them.

    Put simply, you can use it for any situation where you need a really darn big number or where you want a WHOLE BUNCH of on/off flags for something.
    Last edited by Guardian; 04-23-2002 at 08:09 AM.
    Twin engine aircraft are way better. If one engine quits the other takes you to the scene of the crash.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help calling function is asm
    By brietje698 in forum C++ Programming
    Replies: 24
    Last Post: 12-06-2007, 03:48 PM
  2. Inline asm
    By brietje698 in forum C++ Programming
    Replies: 5
    Last Post: 11-11-2007, 01:54 PM
  3. Getting position from game..
    By brietje698 in forum C++ Programming
    Replies: 1
    Last Post: 10-26-2007, 12:15 PM
  4. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  5. storage size of regs is unkown
    By Vertex34 in forum C Programming
    Replies: 5
    Last Post: 11-04-2003, 09:17 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21