Computer Science Canada DWORD? |
Author: | DIIST [ Wed Mar 15, 2006 10:08 am ] |
Post subject: | DWORD? |
Does anyone out there know what a DWORD or WORD is, or what its equal too in Turing? I'm trying to read of the file written in C, which seem to use this variable type a lot. ! |
Author: | Imm0rtal [ Wed Mar 15, 2006 11:10 am ] |
Post subject: | |
When looking at hex you have different Data types. BYTE = one byte (00 - FF) 8 bits This translates to an integer of 0 - 255 DWORD = Double word. A data element that is 2 words, 4 bytes and 32 bits in size. (Unsigned long) This translates to an integer of 0 - 2147483647 (Did you try google? ) |
Author: | DIIST [ Sun Mar 19, 2006 8:20 pm ] |
Post subject: | |
Is DWORD a value in HEX? I dont really quite understand. Google isnt much help either. I was also wondering, you mentioned something about it being equal to an unsigned long. So can you read it as a nat4? I'm thinking that "WORD" in DWORD doent techinically mean a "word" or string, right? |
Author: | Andy [ Sun Mar 19, 2006 9:50 pm ] |
Post subject: | |
it's not a value, it's a length, kind of like thousand, or million for decimals |
Author: | Imm0rtal [ Mon Mar 20, 2006 8:09 pm ] |
Post subject: | |
DWORD = Double word.. Word = 2 bytes (16 bit length) DWORD = 4 bytes (32 bit length) when I said it was a unisgned long that was pertaining to C++. If you do not know what that means then perhaps you should reasearch the C++ language in greater depth. Hope that helps. |
Author: | DIIST [ Sat Mar 25, 2006 3:52 pm ] |
Post subject: | |
Thanks! I got it now. ! |