Fixed width integer types (C++11 起)

来自cppreference.com

 
 
实用工具库
类型的支持 (basic types, RTTI, type traits)
动态内存管理
错误处理
程序实用工具
可变参数函数
日期和时间
函数对象
initializer_list(C++11)
bitset
hash(C++11)
关系运算符
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
双和元组
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
掉期,远期和移动
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
类型的支持
基本类型
Original:
Basic types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
基本类型
固定宽度的整数类型 (C++11)
nullptr_t(C++11)
offsetof
NULL
数值范围内
Original:
Numeric limits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
numeric_limits
C数字限制接口
运行时类型信息
Original:
Runtime type information
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
type_info
type_index(C++11)
类型特征
Original:
Type traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
初级型两类
Original:
Primary type categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
is_void(C++11)
is_array(C++11)
is_pointer(C++11)
is_enum(C++11)
is_union(C++11)
is_class(C++11)
is_function(C++11)
is_object(C++11)
is_scalar(C++11)
is_compound(C++11)
is_integral(C++11)
is_floating_point(C++11)
is_fundamental(C++11)
is_arithmetic(C++11)
is_reference(C++11)
is_lvalue_reference(C++11)
is_rvalue_reference(C++11)
is_member_pointer(C++11)
is_member_object_pointer(C++11)
is_member_function_pointer(C++11)
类型属性
Original:
Type properties
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
is_const(C++11)
is_volatile(C++11)
is_pod(C++11)
is_empty(C++11)
is_polymorphic(C++11)
is_abstract(C++11)
is_trivial(C++11)
is_trivially_copyable(C++11)
is_standard_layout(C++11)
is_literal_type(C++11)
is_signed(C++11)
is_unsigned(C++11)
支持的操作
Original:
Supported operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
is_constructible
is_trivially_constructible
is_nothrow_constructible
(C++11)
(C++11)
(C++11)
is_default_constructible
is_trivially_default_constructible
is_nothrow_default_constructible
(C++11)
(C++11)
(C++11)
is_copy_constructible
is_trivially_copy_constructible
is_nothrow_copy_constructible
(C++11)
(C++11)
(C++11)
is_move_constructible
is_trivially_move_constructible
is_nothrow_move_constructible
(C++11)
(C++11)
(C++11)
is_assignable
is_trivially_assignable
is_nothrow_assignable
(C++11)
(C++11)
(C++11)
is_copy_assignable
is_trivially_copy_assignable
is_nothrow_copy_assignable
(C++11)
(C++11)
(C++11)
is_move_assignable
is_trivially_move_assignable
is_nothrow_move_assignable
(C++11)
(C++11)
(C++11)
is_destructible
is_trivially_destructible
is_nothrow_destructible
(C++11)
(C++11)
(C++11)
has_virtual_destructor(C++11)
关系和属性查询
Original:
Relationships and property queries
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
is_same(C++11)
is_base_of(C++11)
is_convertible(C++11)
alignment_of(C++11)
rank(C++11)
extent(C++11)
类型的修改
Original:
Type modifications
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
remove_cv
remove_const
remove_volatile
(C++11)
(C++11)
(C++11)
add_cv
add_const
add_volatile
(C++11)
(C++11)
(C++11)
make_signed(C++11)
make_unsigned(C++11)
remove_reference(C++11)
add_lvalue_reference
add_rvalue_reference
(C++11)
(C++11)
remove_pointer(C++11)
add_pointer(C++11)
remove_extent(C++11)
remove_all_extents(C++11)
类型转换
Original:
Type transformations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
aligned_storage(C++11)
aligned_union(C++11)
decay(C++11)
enable_if(C++11)
conditional(C++11)
common_type(C++11)
underlying_type(C++11)
result_of(C++11)
键入特征常数
Original:
Type trait constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
integral_constant(C++11)
 

目录

[编辑] 类型

Defined in header <cstdint>
int8_t
int16_t
int32_t
int64_t
有符号整数类型宽度of
正好是8,16,32和64位respectively
with有填充比特,并使用2的补负values​​
(仅当实现直接支持的类型)
Original:
signed integer type with width of
exactly 8, 16, 32 and 64 bits respectively
with no padding bits and using 2's complement for negative values
(provided only if the implementation directly supports the type)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
最快的签署有符号整数类型宽度of
至少为8,16,32和64位分别
Original:
fastest signed signed integer type with width of
at least 8, 16, 32 and 64 bits respectively
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
int_least8_t
int_least16_t
int_least32_t
int_least64_t
最小的有符号整数类型宽度of
至少为8,16,32和64位分别
Original:
smallest signed integer type with width of
at least 8, 16, 32 and 64 bits respectively
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
intmax_t
最大宽度整数类型
Original:
maximum width integer type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
intptr_t
整数类型的能够举行一个指针
Original:
integer type capable of holding a pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uint8_t
uint16_t
uint32_t
uint64_t
宽度的无符号整数类型of
正好是8,16,32和64位分别
(仅当实现直接支持的类型)
Original:
unsigned integer type with width of
exactly 8, 16, 32 and 64 bits respectively
(provided only if the implementation directly supports the type)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
最快的无符号的无符号整数类型宽度of
至少为8,16,32和64位分别
Original:
fastest unsigned unsigned integer type with width of
at least 8, 16, 32 and 64 bits respectively
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
最小宽度of
至少为8,16,32和64位分别为无符号整数类型
Original:
smallest unsigned integer type with width of
at least 8, 16, 32 and 64 bits respectively
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uintmax_t
最大宽度的无符号整数类型
Original:
maximum width unsigned integer type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uintptr_t
无符号整数类型,能够举行一个指针
Original:
unsigned integer type capable of holding a pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[编辑] 宏常量

Defined in header <cstdint>
有符号整数的最小值
Original:
Signed integers : minimum value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
INT8_MIN
INT16_MIN
INT32_MIN
INT64_MIN
最低值类型的对象int8_tint16_tint32_tint64_t
Original:
minimum value of an object of type int8_t, int16_t, int32_t, int64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
INT_FAST8_MIN
INT_FAST16_MIN
INT_FAST32_MIN
INT_FAST64_MIN
最低值类型的对象int_fast8_tint_fast16_tint_fast32_tint_fast64_t
Original:
minimum value of an object of type int_fast8_t, int_fast16_t, int_fast32_t, int_fast64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
INT_LEAST8_MIN
INT_LEAST16_MIN
INT_LEAST32_MIN
INT_LEAST64_MIN
最低值类型的对象int_least8_tint_least16_tint_least32_tint_least64_t
Original:
minimum value of an object of type int_least8_t, int_least16_t, int_least32_t, int_least64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
INTPTR_MIN
intptr_t类型的对象的最低值
Original:
minimum value of an object of type intptr_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
INTMAX_MIN
intmax_t类型的对象的最低值
Original:
minimum value of an object of type intmax_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
有符号整数的最大值
Original:
Signed integers : maximum value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
INT8_MAX
INT16_MAX
INT32_MAX
INT64_MAX
int8_t类型的对象的最大值,int16_tint32_tint64_t
Original:
maximum value of an object of type int8_t, int16_t, int32_t, int64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
INT_FAST8_MAX
INT_FAST16_MAX
INT_FAST32_MAX
INT_FAST64_MAX
int_fast8_t类型的对象的最大值,int_fast16_tint_fast32_tint_fast64_t
Original:
maximum value of an object of type int_fast8_t, int_fast16_t, int_fast32_t, int_fast64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
INT_LEAST8_MAX
INT_LEAST16_MAX
INT_LEAST32_MAX
INT_LEAST64_MAX
int_least8_t类型的对象的最大值,int_least16_tint_least32_tint_least64_t
Original:
maximum value of an object of type int_least8_t, int_least16_t, int_least32_t, int_least64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
INTPTR_MAX
intptr_t类型的对象的最大值
Original:
maximum value of an object of type intptr_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
INTMAX_MAX
intmax_t类型的对象的最大值
Original:
maximum value of an object of type intmax_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
无符号整数最大值
Original:
Unsigned integers : maximum value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINT64_MAX
uint8_t类型的对象的最大值,uint16_tuint32_tuint64_t
Original:
maximum value of an object of type uint8_t, uint16_t, uint32_t, uint64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_FAST64_MAX
uint_fast8_t类型的对象的最大值,uint_fast16_tuint_fast32_tuint_fast64_t
Original:
maximum value of an object of type uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
UINT_LEAST64_MAX
uint_least8_t类型的对象的最大值,uint_least16_tuint_least32_tuint_least64_t
Original:
maximum value of an object of type uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
UINTPTR_MAX
uintptr_t类型的对象的最大值
Original:
maximum value of an object of type uintptr_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
UINTMAX_MAX
uintmax_t类型的对象的最大值
Original:
maximum value of an object of type uintmax_t
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)

[编辑] 格式宏常量

Defined in header <cinttypes>
std::fprintf系列函数的格式常数
Original:
Format constants for the std::fprintf family of functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
PRId8
PRId16
PRId32
PRId64
PRIdLEAST8
PRIdLEAST16
PRIdLEAST32
PRIdLEAST64
PRIdFAST8
PRIdFAST16
PRIdFAST32
PRIdFAST64
PRIdMAX
PRIdPTR
输出格式转换符有符号十进制整数类型的值std::int8_tstd::int16_tstd::int32_tstd::int64_tstd::int_least8_tstd::int_least16_tstd::int_least32_tstd::int_least64_tstd::int_fast8_tstd::int_fast16_tstd::int_fast32_tstd::int_fast64_tstd:intmax_tstd::intptr_t分别相当于%dint
Original:
format conversion specifier to output a signed decimal integer value of type std::int8_t, std::int16_t, std::int32_t, std::int64_t, std::int_least8_t, std::int_least16_t, std::int_least32_t, std::int_least64_t, std::int_fast8_t, std::int_fast16_t, std::int_fast32_t, std::int_fast64_t, std:intmax_t, std::intptr_t respectively, equivalent to %d for int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
PRIi8
PRIi16
PRIi32
PRIi64
PRIiLEAST8
PRIiLEAST16
PRIiLEAST32
PRIiLEAST64
PRIiFAST8
PRIiFAST16
PRIiFAST32
PRIiFAST64
PRIiMAX
PRIiPTR
输出格式转换符有符号十进制整数类型的值std::int8_tstd::int16_tstd::int32_tstd::int64_tstd::int_least8_tstd::int_least16_tstd::int_least32_tstd::int_least64_tstd::int_fast8_tstd::int_fast16_tstd::int_fast32_tstd::int_fast64_tstd:intmax_tstd::intptr_t分别相当于%iint
Original:
format conversion specifier to output a signed decimal integer value of type std::int8_t, std::int16_t, std::int32_t, std::int64_t, std::int_least8_t, std::int_least16_t, std::int_least32_t, std::int_least64_t, std::int_fast8_t, std::int_fast16_t, std::int_fast32_t, std::int_fast64_t, std:intmax_t, std::intptr_t respectively, equivalent to %i for int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
PRIu8
PRIu16
PRIu32
PRIu64
PRIuLEAST8
PRIuLEAST16
PRIuLEAST32
PRIuLEAST64
PRIuFAST8
PRIuFAST16
PRIuFAST32
PRIuFAST64
PRIuMAX
PRIuPTR
格式转换说明符来输出一个无符号整数类型的值std::uint8_tstd::uint16_tstd::uint32_tstd::uint64_tstd::uint_least8_tstd::uint_least16_tstd::uint_least32_tstd::uint_least64_tstd::uint_fast8_tstd::uint_fast16_tstd::uint_fast32_tstd::uint_fast64_tstd:uintmax_tstd::uintptr_t分别相当于%uunsigned int
Original:
format conversion specifier to output an unsigned decimal integer value of type std::uint8_t, std::uint16_t, std::uint32_t, std::uint64_t, std::uint_least8_t, std::uint_least16_t, std::uint_least32_t, std::uint_least64_t, std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t, std::uint_fast64_t, std:uintmax_t, std::uintptr_t respectively, equivalent to %u for unsigned int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
PRIo8
PRIo16
PRIo32
PRIo64
PRIoLEAST8
PRIoLEAST16
PRIoLEAST32
PRIoLEAST64
PRIoFAST8
PRIoFAST16
PRIoFAST32
PRIoFAST64
PRIoMAX
PRIoPTR
格式转换说明符来输出一个无符号的八进制整数类型的值std::uint8_tstd::uint16_tstd::uint32_tstd::uint64_tstd::uint_least8_tstd::uint_least16_tstd::uint_least32_tstd::uint_least64_tstd::uint_fast8_tstd::uint_fast16_tstd::uint_fast32_tstd::uint_fast64_tstd:uintmax_tstd::uintptr_t分别相当于%ounsigned int
Original:
format conversion specifier to output an unsigned octal integer value of type std::uint8_t, std::uint16_t, std::uint32_t, std::uint64_t, std::uint_least8_t, std::uint_least16_t, std::uint_least32_t, std::uint_least64_t, std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t, std::uint_fast64_t, std:uintmax_t, std::uintptr_t respectively, equivalent to %o for unsigned int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
PRIx8
PRIx16
PRIx32
PRIx64
PRIxLEAST8
PRIxLEAST16
PRIxLEAST32
PRIxLEAST64
PRIxFAST8
PRIxFAST16
PRIxFAST32
PRIxFAST64
PRIxMAX
PRIxPTR
格式转换说明符来输出一个无符号的十六进制整数类型的值std::uint8_tstd::uint16_tstd::uint32_tstd::uint64_tstd::uint_least8_tstd::uint_least16_tstd::uint_least32_tstd::uint_least64_tstd::uint_fast8_tstd::uint_fast16_tstd::uint_fast32_tstd::uint_fast64_tstd:uintmax_tstd::uintptr_t分别相当于%xunsigned int
Original:
format conversion specifier to output an unsigned hexadecimal integer value of type std::uint8_t, std::uint16_t, std::uint32_t, std::uint64_t, std::uint_least8_t, std::uint_least16_t, std::uint_least32_t, std::uint_least64_t, std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t, std::uint_fast64_t, std:uintmax_t, std::uintptr_t respectively, equivalent to %x for unsigned int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
PRIX8
PRIX16
PRIX32
PRIX64
PRIXLEAST8
PRIXLEAST16
PRIXLEAST32
PRIXLEAST64
PRIXFAST8
PRIXFAST16
PRIXFAST32
PRIXFAST64
PRIXMAX
PRIXPTR
格式转换说明符来输出一个无符号的大写十六进制整数类型的值std::uint8_tstd::uint16_tstd::uint32_tstd::uint64_tstd::uint_least8_tstd::uint_least16_tstd::uint_least32_tstd::uint_least64_tstd::uint_fast8_tstd::uint_fast16_tstd::uint_fast32_tstd::uint_fast64_tstd:uintmax_tstd::uintptr_t分别相当于%Xunsigned int
Original:
format conversion specifier to output an unsigned uppercase hexadecimal integer value of type std::uint8_t, std::uint16_t, std::uint32_t, std::uint64_t, std::uint_least8_t, std::uint_least16_t, std::uint_least32_t, std::uint_least64_t, std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t, std::uint_fast64_t, std:uintmax_t, std::uintptr_t respectively, equivalent to %X for unsigned int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
std::fscanf系列函数的格式常数
Original:
Format constants for the std::fscanf family of functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
SCNd8
SCNd16
SCNd32
SCNd64
SCNdLEAST8
SCNdLEAST16
SCNdLEAST32
SCNdLEAST64
SCNdFAST8
SCNdFAST16
SCNdFAST32
SCNdFAST64
SCNdMAX
SCNdPTR
格式转换说明符的输入有符号十进制整数类型的值std::int8_tstd::int16_tstd::int32_tstd::int64_tstd::int_least8_tstd::int_least16_tstd::int_least32_tstd::int_least64_tstd::int_fast8_tstd::int_fast16_tstd::int_fast32_tstd::int_fast64_tstd:intmax_tstd::intptr_t分别相当于%dint
Original:
format conversion specifier to input a signed decimal integer value of type std::int8_t, std::int16_t, std::int32_t, std::int64_t, std::int_least8_t, std::int_least16_t, std::int_least32_t, std::int_least64_t, std::int_fast8_t, std::int_fast16_t, std::int_fast32_t, std::int_fast64_t, std:intmax_t, std::intptr_t respectively, equivalent to %d for int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
SCNi8
SCNi16
SCNi32
SCNi64
SCNiLEAST8
SCNiLEAST16
SCNiLEAST32
SCNiLEAST64
SCNiFAST8
SCNiFAST16
SCNiFAST32
SCNiFAST64
SCNiMAX
SCNiPTR
格式转换说明std::int8_tstd::int16_tstd::int32_tstd::int64_tstd::int_least8_tstd::int_least16_tstd::int_least32_tstd::int_least64_tstd::int_fast8_tstd::int_fast16_tstd::int_fast32_tstd::int_fast64_tstd:intmax_tstd::intptr_t分别输入有符号十进制/八进制/十六进制整数类型的值,相当于%iint
Original:
format conversion specifier to input a signed decimal/octal/hexadecimal integer value of type std::int8_t, std::int16_t, std::int32_t, std::int64_t, std::int_least8_t, std::int_least16_t, std::int_least32_t, std::int_least64_t, std::int_fast8_t, std::int_fast16_t, std::int_fast32_t, std::int_fast64_t, std:intmax_t, std::intptr_t respectively, equivalent to %i for int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
SCNu8
SCNu16
SCNu32
SCNu64
SCNuLEAST8
SCNuLEAST16
SCNuLEAST32
SCNuLEAST64
SCNuFAST8
SCNuFAST16
SCNuFAST32
SCNuFAST64
SCNuMAX
SCNuPTR
格式转换说明输入一个无符号整数类型的值std::uint8_tstd::uint16_tstd::uint32_tstd::uint64_tstd::uint_least8_tstd::uint_least16_tstd::uint_least32_tstd::uint_least64_tstd::uint_fast8_tstd::uint_fast16_tstd::uint_fast32_tstd::uint_fast64_tstd:uintmax_tstd::uintptr_t分别相当于%uunsigned int
Original:
format conversion specifier to input an unsigned decimal integer value of type std::uint8_t, std::uint16_t, std::uint32_t, std::uint64_t, std::uint_least8_t, std::uint_least16_t, std::uint_least32_t, std::uint_least64_t, std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t, std::uint_fast64_t, std:uintmax_t, std::uintptr_t respectively, equivalent to %u for unsigned int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
SCNo8
SCNo16
SCNo32
SCNo64
SCNoLEAST8
SCNoLEAST16
SCNoLEAST32
SCNoLEAST64
SCNoFAST8
SCNoFAST16
SCNoFAST32
SCNoFAST64
SCNoMAX
SCNoPTR
格式转换说明输入一个无符号的八进制整数类型的值std::uint8_tstd::uint16_tstd::uint32_tstd::uint64_tstd::uint_least8_tstd::uint_least16_tstd::uint_least32_tstd::uint_least64_tstd::uint_fast8_tstd::uint_fast16_tstd::uint_fast32_tstd::uint_fast64_tstd:uintmax_tstd::uintptr_t分别相当于%ounsigned int
Original:
format conversion specifier to input an unsigned octal integer value of type std::uint8_t, std::uint16_t, std::uint32_t, std::uint64_t, std::uint_least8_t, std::uint_least16_t, std::uint_least32_t, std::uint_least64_t, std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t, std::uint_fast64_t, std:uintmax_t, std::uintptr_t respectively, equivalent to %o for unsigned int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
SCNx8
SCNx16
SCNx32
SCNx64
SCNxLEAST8
SCNxLEAST16
SCNxLEAST32
SCNxLEAST64
SCNxFAST8
SCNxFAST16
SCNxFAST32
SCNxFAST64
SCNxMAX
SCNxPTR
格式转换说明输入一个无符号的十六进制整数类型的值std::uint8_tstd::uint16_tstd::uint32_tstd::uint64_tstd::uint_least8_tstd::uint_least16_tstd::uint_least32_tstd::uint_least64_tstd::uint_fast8_tstd::uint_fast16_tstd::uint_fast32_tstd::uint_fast64_tstd:uintmax_tstd::uintptr_t分别相当于%xunsigned int
Original:
format conversion specifier to input an unsigned hexadecimal integer value of type std::uint8_t, std::uint16_t, std::uint32_t, std::uint64_t, std::uint_least8_t, std::uint_least16_t, std::uint_least32_t, std::uint_least64_t, std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t, std::uint_fast64_t, std:uintmax_t, std::uintptr_t respectively, equivalent to %x for unsigned int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)
SCNX8
SCNX16
SCNX32
SCNX64
SCNXLEAST8
SCNXLEAST16
SCNXLEAST32
SCNXLEAST64
SCNXFAST8
SCNXFAST16
SCNXFAST32
SCNXFAST64
SCNXMAX
SCNXPTR
格式转换说明输入大写十六进制的无符号整数类型的值std::uint8_tstd::uint16_tstd::uint32_tstd::uint64_tstd::uint_least8_tstd::uint_least16_tstd::uint_least32_tstd::uint_least64_tstd::uint_fast8_tstd::uint_fast16_tstd::uint_fast32_tstd::uint_fast64_tstd:uintmax_tstd::uintptr_t分别相当于%Xunsigned int
Original:
format conversion specifier to input an unsigned uppercase hexadecimal integer value of type std::uint8_t, std::uint16_t, std::uint32_t, std::uint64_t, std::uint_least8_t, std::uint_least16_t, std::uint_least32_t, std::uint_least64_t, std::uint_fast8_t, std::uint_fast16_t, std::uint_fast32_t, std::uint_fast64_t, std:uintmax_t, std::uintptr_t respectively, equivalent to %X for unsigned int
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(宏不变)