Not to long ago, someone told me that long are not 64 bits on 64 bit machines and I should always use int. This did not make sense to me. I have se
long
int
The size in bits of long on Windows platforms is 32 bits (4 bytes).
You can check this using sizeof(long).