Hey guys, if I did this:
What would the boof's bits look like?Code:unsigned char *foob; foob = new unsigned char[4]; foob[0] = 0x10101010; foob[1] = 0x11111111; foob[2] = 0x00000000; foob[3] = 0x01010101; unsigned long boof; boof = *(unsigned long*) foob;



LinkBack URL
About LinkBacks



)
oops, I was thinking about binary, not hex... 
Would you mind re-explaining with bits instead of bytes? lol I mean, supposing the 0x10101010 etc. were binary numbers like I originally intended instead of hex?