Originally posted by NOMADMAN
Where do you get __int64, is it standard or part of VC++? The underscores make it look like a C style data type. Also that seems platform dependent. What is my system was old and longs (and ints) where 16 bits, I'd only need a 32 bit int (like they are now).

Thanks, I'll use it if I have to but is there anothrer way?

NOMAD
int is already 32bit in VC6 if that is what you want.

int is 16bit on 16bit compiler for 16bit platform.

int is 32bit on 32bit compiler for 32bit platform.

If you are using an old compiler(16bit) (like Turbo C++), int would be 16bit.

Size of int is not fixed in the standard.

If you do not believe me, do something like this

cout<<sizeof(int)<<endl;

if you are using VC6, it would show you 4 which means 4 bytes(32bit).