Probably the most complex but easy to use C++ construct is "sizeof". This little wonder will tell you the size of almost anything except Bill Gate's wallet. For example: printf("The size of a BYTE = %d\n", sizeof(BYTE)); struct MyStruct{ int x; float y; char wibble[256]; ... }; size_t MystructSize = sizeof(MyStruct);
Well you get the idea. Quite an amazing little fellow is "sizeof" Regards T
T
tmcgarr
@tmcgarr
Posts
-
Hello can somebody explain me how many 0x90 can i add into BYTE / WORD / DWORD