المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Size of datatype dependent on OS or Hardware Architecture?



C++ Programming
04-22-2009, 12:21 PM
hi

i would like to know if whether the size of datatype C++ is dependant on which of the following ( or on all of them ) ?

1)Operating System
2)Hardware Architecture
3)Compiler


Eg:Does size of int on 64 bit Hardware with 32/64 bit windows varies?

"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"