Frederick2 189 Posting Whiz

Will an int in C/C++ now be 8 bytes instead of 4?

printf("sizeof(int) = %u\n", sizeof(int));

sizeof(int) = 8

In DOS it was 2 afterrall.

And what about doubles? Will they be 16 bytes? Maybe call them 'fourples'...

I really don't know. Me and my employeer are stuck in 32 bit XP land.

And another thought....

Last summer I bought VStudio 2008 Pro. Will that install on a Windows 7 64 bit OS and what results will I get with the above printf statement?

Will VStudio 2010 have 32 bit and 64 bit versions? If so, will one version give me a four byte int and the other a 8 byte int???