Windows data types explore - thousands of times to do you? (4)

zhaozj2021-02-16  36

Finally, this table is the data type supported by the Visual C 7.1 compiler, which is "root" of Windows various data types.

Data Type Name Byte Number Value Range INT * SIGNED, SIGNED INT is determined by the operating system, that is, "word long" with the operating system is determined by the operating system, that is, "word long" with the operating system __int81char, signed char-128 to 127__int162short, short int, signed short int-32,768 to 32,767__int324signed, signed int-2,147,483,648 to 2,147,483,647__int648 no false or no -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807bool1 truechar1signed char-128 None 0 to 127unsigned char1 to 255short2short int , signed short int-32,768 to 32,767unsigned short2unsigned short int0 to 65,535long4long int, signed long int-2,147,483,648 to 2,147,483,647long long8none (but equivalent to __int64) -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807unsigned long4unsigned long int0 to 4,294,967,295enum * not determined by the operating system, That is, "word length" with the operating system is related to FLOAT4 without 3.4e /- 38 (7 digits) Double8 without 1.7e /- 308 (15 digits) long double8 no 1.7e /- 308 (15 digits) wchar_t2__wchar_t0 to 65,535

After more than ten hours of "fighting", finally did it :) I am very happy. But I know, there is definitely unfair or even a wrong place, please have a lot of criticism, thank you first.

转载请注明原文地址:https://www.9cbs.com/read-22057.html

New Post(0)