名前空間
変種
操作

Fixed width integer types (C99およびそれ以降)

提供: cppreference.com
< c‎ | types

目次

[編集] タイプ

Defined in header <stdint.h>
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 <stdint.h>
符号付き整数:最小値
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_tint16_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_tint_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_tint_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_tuint16_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_tuint_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_tuint_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 <inttypes.h>
機能のfprintfの家族のために形式定数
Original:
Format constants for the 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進数の整数値int8_tint16_tint32_tint64_tint_least8_tint_least16_tint_least32_tint_least64_tint_fast8_tint_fast16_tint_fast32_tint_fast64_tintmax_tintptr_tそれぞれ%dためintに相当するものは、出力に書式変換指定子
Original:
format conversion specifier to output a signed decimal integer value of type int8_t, int16_t, int32_t, int64_t, int_least8_t, int_least16_t, int_least32_t, int_least64_t, int_fast8_t, int_fast16_t, int_fast32_t, int_fast64_t, intmax_t, 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進数の整数値int8_tint16_tint32_tint64_tint_least8_tint_least16_tint_least32_tint_least64_tint_fast8_tint_fast16_tint_fast32_tint_fast64_tintmax_tintptr_tそれぞれ%iためintに相当するものは、出力に書式変換指定子
Original:
format conversion specifier to output a signed decimal integer value of type int8_t, int16_t, int32_t, int64_t, int_least8_t, int_least16_t, int_least32_t, int_least64_t, int_fast8_t, int_fast16_t, int_fast32_t, int_fast64_t, intmax_t, 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進整数値uint8_tuint16_tuint32_tuint64_tuint_least8_tuint_least16_tuint_least32_tuint_least64_tuint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_tuintmax_tuintptr_tそれぞれ%uためunsigned intに相当するものは、出力に書式変換指定子
Original:
format conversion specifier to output an unsigned decimal integer value of type uint8_t, uint16_t, uint32_t, uint64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uintmax_t, 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進数の整数値uint8_tuint16_tuint32_tuint64_tuint_least8_tuint_least16_tuint_least32_tuint_least64_tuint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_tuintmax_tuintptr_tそれぞれ%oためunsigned intに相当するものは、出力に書式変換指定子
Original:
format conversion specifier to output an unsigned octal integer value of type uint8_t, uint16_t, uint32_t, uint64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uintmax_t, 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進整数値uint8_tuint16_tuint32_tuint64_tuint_least8_tuint_least16_tuint_least32_tuint_least64_tuint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_tuintmax_tuintptr_tそれぞれ%xためunsigned intに相当するものは、出力に書式変換指定子
Original:
format conversion specifier to output an unsigned hexadecimal integer value of type uint8_t, uint16_t, uint32_t, uint64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uintmax_t, 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進整数値uint8_tuint16_tuint32_tuint64_tuint_least8_tuint_least16_tuint_least32_tuint_least64_tuint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_tuintmax_tuintptr_tそれぞれ%Xためunsigned intに相当するものは、出力に書式変換指定子
Original:
format conversion specifier to output an unsigned uppercase hexadecimal integer value of type uint8_t, uint16_t, uint32_t, uint64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uintmax_t, 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.

(マクロ定数)
機能のfscanfの家族のために形式定数
Original:
Format constants for the 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
入力形式に変換指定子int8_tためint16_tに相当するタイプの符号付き10進数の整数値int32_tint64_tint_least8_tint_least16_tint_least32_tint_least64_tint_fast8_tint_fast16_tint_fast32_tint_fast64_tintmax_tintptr_t%dintそれぞれ
Original:
format conversion specifier to input a signed decimal integer value of type int8_t, int16_t, int32_t, int64_t, int_least8_t, int_least16_t, int_least32_t, int_least64_t, int_fast8_t, int_fast16_t, int_fast32_t, int_fast64_t, intmax_t, 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
int8_tためint16_tに相当int32_tint64_tint_least8_tint_least16_tint_least32_tint_least64_tint_fast8_tint_fast16_tint_fast32_tint_fast64_tintmax_tintptr_t%iintそれぞれ入力型の符号付き10進数/進/ 16進整数値へのフォーマット変換指定子、
Original:
format conversion specifier to input a signed decimal/octal/hexadecimal integer value of type int8_t, int16_t, int32_t, int64_t, int_least8_t, int_least16_t, int_least32_t, int_least64_t, int_fast8_t, int_fast16_t, int_fast32_t, int_fast64_t, intmax_t, 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
入力形式に変換指定子uint8_tためuint16_tに相当するタイプの符号なし10進整数値uint32_tuint64_tuint_least8_tuint_least16_tuint_least32_tuint_least64_tuint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_tuintmax_tuintptr_t%uunsigned intそれぞれ
Original:
format conversion specifier to input an unsigned decimal integer value of type uint8_t, uint16_t, uint32_t, uint64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uintmax_t, 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
入力形式に変換指定子uint8_tためuint16_tに相当uint32_tuint64_tuint_least8_tuint_least16_tuint_least32_tuint_least64_tuint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_tuintmax_tuintptr_t%ounsigned intそれぞれの型の符号なし8進数の整数値
Original:
format conversion specifier to input an unsigned octal integer value of type uint8_t, uint16_t, uint32_t, uint64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uintmax_t, 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
入力形式に変換指定子uint8_tためuint16_tに相当するタイプの符号なし16進整数値uint32_tuint64_tuint_least8_tuint_least16_tuint_least32_tuint_least64_tuint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_tuintmax_tuintptr_t%xunsigned intそれぞれ
Original:
format conversion specifier to input an unsigned hexadecimal integer value of type uint8_t, uint16_t, uint32_t, uint64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uintmax_t, 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
入力uint8_tためuint16_tに相当uint32_tuint64_tuint_least8_tuint_least16_tuint_least32_tuint_least64_tuint_fast8_tuint_fast16_tuint_fast32_tuint_fast64_tuintmax_tuintptr_t%Xunsigned intそれぞれの型の符号なしの大文字の16進の整数値を、フォーマットへの変換指定子
Original:
format conversion specifier to input an unsigned uppercase hexadecimal integer value of type uint8_t, uint16_t, uint32_t, uint64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, uint_fast8_t, uint_fast16_t, uint_fast32_t, uint_fast64_t, uintmax_t, 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.

(マクロ定数)