I'm running Windows 7, 64-bit, on a 64-bit machine of course.
I'm tried using both Code::Blocks + the Borland 5.5 free compiler, and also CodeLite + GNU g++ compiler.
This is the code I have written to run the test:
const short BITS_PER_BYTE = 8;
const short BYTES_PER_ADDRESS = sizeof( void* );
const short MEMORY_SLOT_SIZE = (BYTES_PER_ADDRESS * BITS_PER_BYTE);
cout << "Size: " << MEMORY_SLOT_SIZE << "bit" << endl;