Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Visual C++ 32비트 및 64비트 컴파일러는 이 문서의 뒷부분의 표에 나온 형식을 인식합니다.
- int (unsigned int)
- __int8 (unsigned __int8)
- __int16 (unsigned __int16)
- __int32 (unsigned __int32)
- __int64 (unsigned __int64)
- short (unsigned short)
- long (unsigned long)
- long long (unsigned long long)
- 이름이 두 개의 밑줄(__)로 시작하는 경우 데이터 형식은 비표준입니다.
- 다음 표에 지정된 범위는 포함-포함입니다.
- 형식 이름 바이트 기타 이름 값의 범위
- int 4 signed –2,147,483,648 ~ 2,147,483,647
- unsigned int 4 unsigned 0 ~ 4,294,967,295
- __int8 1 char -128 ~ 127
- 부호 없는 __int8 1 unsigned char 0 ~ 255
- __int16 2 짧은하십시오 short int, short int 서명 –32,768 ~ 32,767
- 부호 없는 __int16 2 unsigned short, 부호 없는 short int 0 ~ 65,535
- __int32 4 서명하십시오 int 서명, int –2,147,483,648 ~ 2,147,483,647
- 부호 없는 __int32 4 부호 없는, 부호 없는 int 0 ~ 4,294,967,295
- __int64 8 long long, 기호가 있는 long long –9,223,372,036,854,775,808 ~ 9,223,372,036,854,775,807
- unsigned __int64 8 부호 없는 long long 0 ~ 18,446,744,073,709,551,615
- bool 1 없음 false 또는 true
- char 1 없음 -기본적으로 128 ~ 127
- /J를 사용하여 컴파일된 경우 0~255
- 서명 된 char 1 없음 -128 ~ 127
- unsigned char 1 없음 0 ~ 255
- short 2 short int, short int 서명 –32,768 ~ 32,767
- unsigned short 2 unsigned short int 0 ~ 65,535
- long 4 long int, long int 서명 –2,147,483,648 ~ 2,147,483,647
- unsigned long 4 unsigned long int 0 ~ 4,294,967,295
- long long 8 없음 (하지만 같음 __int64) –9,223,372,036,854,775,808 ~ 9,223,372,036,854,775,807
- 부호 없는 long long 8 없음 (하지만 같음 unsigned __int64) 0 ~ 18,446,744,073,709,551,615
- enum varies 없음
- float 4 없음 3.4E+/-38(7개의 자릿수)
- double 8 없음 1.7E+/-308(15개의 자릿수)
- long double 동일 double 없음 동일 double
- wchar_t 2 __wchar_t 0 ~ 65,535
- 사용 방법에 따라, 변수의 __wchar_t 와이드 문자 형식 또는 멀티 바이트 문자 형식
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement