c++ - Size of long vs int on x64 platform -
having read difference between long , int data types , long vs. int c/c++ - what's point?
i'm trying generate outputs of sizeof(int) , sizeof(long) creating 32 bit exe , 64 bit exe.
i'm using visual studio 2010 on windows 7 ultimate x64 sp1 , have selected x64 in configuration manager. pre-processor set win64. however, still sizeof(int) , sizeof(long) 4 bytes, no matter whether create 32 bit exe or 64 one.
is there other compiler flag need set generate x64 exe (i cannot see generated exe in x64/debug folder of project)
Comments
Post a Comment