Fixed width integer types (C++11およびそれ以降)
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
[編集] タイプ
Defined in header
<cstdint> | |
int8_t int16_t int32_t int64_t
|
respectively
withパディングビット幅の整数型of 正確には8、16、32ビットと64ビットに署名しないと負のvalues (実装は直接型をサポートしている場合にのみ提供される)のための2の補数を使用しています 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_t、int16_t、int32_t、int64_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_t、int_fast16_t、int_fast32_t、int_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_t、int_least16_t、int_least32_t、int_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_t、int32_t、int64_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_t、int_fast32_t、int_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_t、int_least32_t、int_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_t、uint32_t、uint64_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_t、uint_fast32_t、uint_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_t、uint_least32_t、uint_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. (マクロ定数) |
[編集] フォーマットのマクロ定数
This section is incomplete Reason: will look better as a table |
Defined in header
<cinttypes> | |
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 |
タイプの符号付き10進数の整数値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それぞれ %d ためintに相当するものは、出力に書式変換指定子 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 |
タイプの符号付き10進数の整数値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それぞれ %i ためintに相当するものは、出力に書式変換指定子 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 |
型の符号なし10進整数値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それぞれ %u ためunsigned 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 |
型の符号なし8進数の整数値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それぞれ %o ためunsigned 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 |
型の符号なし16進整数値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それぞれ %x ためunsigned 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 |
型の符号なし大文字の16進整数値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それぞれ %X ためunsigned 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. (マクロ定数) |
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_tためstd::int16_tに相当するタイプの符号付き10進数の整数値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、 %d 、intそれぞれ 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_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、 %i 、intそれぞれ入力型の符号付き10進数/進/ 16進整数値へのフォーマット変換指定子、 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_tためstd::uint16_tに相当するタイプの符号なし10進整数値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、 %u 、unsigned 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_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、 %o 、unsigned intそれぞれの型の符号なし8進数の整数値 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_tためstd::uint16_tに相当するタイプの符号なし16進整数値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、 %x 、unsigned 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_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、 %X 、unsigned intそれぞれの型の符号なしの大文字の16進の整数値を、フォーマットへの変換指定子 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. (マクロ定数) |