Espaços nominais
Variantes
Acções

Fixed width integer types (desde C99)

Da cppreference.com
< c‎ | types

Índice

[editar] Tipos

Defined in header <stdint.h>
int8_t
int16_t
int32_t
int64_t
assinado tipo inteiro com largura of
exatamente 8, 16, 32 e 64 bits respectively
with não padding bits e usando complemento de 2 para values
negativa (fornecida apenas se a aplicação suporta diretamente o tipo)
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
mais rápido assinado assinado tipo inteiro com largura of
pelo menos 8, 16, 32 e 64 bits, respectivamente
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
menor assinado tipo inteiro com largura of
pelo menos, 8, 16, 32 e 64 bits, respectivamente
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
tipo inteiro de largura máxima
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
tipo inteiro capaz de manter um ponteiro
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
tipo inteiro sem sinal com largura de bits de of
exatamente 8, 16, 32 e 64, respectivamente
(fornecida apenas se a aplicação suporta diretamente o tipo)
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
mais rápido tipo unsigned unsigned inteiro com of
largura, no mínimo, 8, 16, 32 e 64 bits, respectivamente
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
menor tipo inteiro sem sinal com of
largura de pelo menos 8, 16, 32 e 64 bits, respectivamente
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
largura máxima de tipo inteiro sem sinal
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
tipo inteiro sem sinal capaz de manter um ponteiro
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.

[editar] Constantes de macros

Defined in header <stdint.h>
Inteiros assinados: valor mínimo
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
valor mínimo de um objeto do tipo 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.

(macro constante)
INT_FAST8_MIN
INT_FAST16_MIN
INT_FAST32_MIN
INT_FAST64_MIN
valor mínimo de um objeto do tipo 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.

(macro constante)
INT_LEAST8_MIN
INT_LEAST16_MIN
INT_LEAST32_MIN
INT_LEAST64_MIN
valor mínimo de um objeto do tipo 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.

(macro constante)
INTPTR_MIN
valor mínimo de um objeto de intptr_t tipo
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.

(macro constante)
INTMAX_MIN
valor mínimo de um objeto de intmax_t tipo
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.

(macro constante)
Inteiros assinados: valor máximo
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
valor máximo de um objeto do tipo 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.

(macro constante)
INT_FAST8_MAX
INT_FAST16_MAX
INT_FAST32_MAX
INT_FAST64_MAX
valor máximo de um objeto do tipo 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.

(macro constante)
INT_LEAST8_MAX
INT_LEAST16_MAX
INT_LEAST32_MAX
INT_LEAST64_MAX
valor máximo de um objeto do tipo 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.

(macro constante)
INTPTR_MAX
valor máximo de um objeto de intptr_t tipo
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.

(macro constante)
INTMAX_MAX
valor máximo de um objeto de intmax_t tipo
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.

(macro constante)
Inteiros sem sinal: valor máximo
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
valor máximo de um objeto do tipo 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.

(macro constante)
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_FAST64_MAX
valor máximo de um objeto do tipo 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.

(macro constante)
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
UINT_LEAST64_MAX
valor máximo de um objeto do tipo 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.

(macro constante)
UINTPTR_MAX
valor máximo de um objeto de uintptr_t tipo
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.

(macro constante)
UINTMAX_MAX
valor máximo de um objeto de uintmax_t tipo
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.

(macro constante)

[editar] Macro constantes formato

Defined in header <inttypes.h>
Constantes de formato para a família fprintf de funções
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
formato especificador de conversão para a saída de um assinado valor decimal inteiro do tipo 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 respectivamente, equivalente a %d para 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.

(macro constante)
PRIi8
PRIi16
PRIi32
PRIi64
PRIiLEAST8
PRIiLEAST16
PRIiLEAST32
PRIiLEAST64
PRIiFAST8
PRIiFAST16
PRIiFAST32
PRIiFAST64
PRIiMAX
PRIiPTR
formato especificador de conversão para a saída de um assinado valor decimal inteiro do tipo 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 respectivamente, equivalente a %i para 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.

(macro constante)
PRIu8
PRIu16
PRIu32
PRIu64
PRIuLEAST8
PRIuLEAST16
PRIuLEAST32
PRIuLEAST64
PRIuFAST8
PRIuFAST16
PRIuFAST32
PRIuFAST64
PRIuMAX
PRIuPTR
formato especificador de conversão para a saída de um valor decimal inteiro sem sinal do tipo 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 respectivamente, equivalente a %u para 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.

(macro constante)
PRIo8
PRIo16
PRIo32
PRIo64
PRIoLEAST8
PRIoLEAST16
PRIoLEAST32
PRIoLEAST64
PRIoFAST8
PRIoFAST16
PRIoFAST32
PRIoFAST64
PRIoMAX
PRIoPTR
formato especificador de conversão para a saída de um unsigned octal valor inteiro do tipo 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 respectivamente, equivalente a %o para 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.

(macro constante)
PRIx8
PRIx16
PRIx32
PRIx64
PRIxLEAST8
PRIxLEAST16
PRIxLEAST32
PRIxLEAST64
PRIxFAST8
PRIxFAST16
PRIxFAST32
PRIxFAST64
PRIxMAX
PRIxPTR
formato especificador de conversão para a saída de um valor hexadecimal inteiro sem sinal do tipo 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 respectivamente, equivalente a %x para 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.

(macro constante)
PRIX8
PRIX16
PRIX32
PRIX64
PRIXLEAST8
PRIXLEAST16
PRIXLEAST32
PRIXLEAST64
PRIXFAST8
PRIXFAST16
PRIXFAST32
PRIXFAST64
PRIXMAX
PRIXPTR
formato especificador de conversão para a saída de um unsigned valor hexadecimal maiúscula inteiro do tipo 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 respectivamente, equivalente a %X para 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.

(macro constante)
Constantes de formato para a família fscanf de funções
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
formato especificador de conversão para introduzir um valor assinado decimal inteiro do tipo 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 respectivamente, equivalente a %d para int
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.

(macro constante)
SCNi8
SCNi16
SCNi32
SCNi64
SCNiLEAST8
SCNiLEAST16
SCNiLEAST32
SCNiLEAST64
SCNiFAST8
SCNiFAST16
SCNiFAST32
SCNiFAST64
SCNiMAX
SCNiPTR
especificador de conversão de formato para introduzir um valor assinado decimal / octal / hexadecimal inteiro do tipo 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 respectivamente, equivalente a %i para int
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.

(macro constante)
SCNu8
SCNu16
SCNu32
SCNu64
SCNuLEAST8
SCNuLEAST16
SCNuLEAST32
SCNuLEAST64
SCNuFAST8
SCNuFAST16
SCNuFAST32
SCNuFAST64
SCNuMAX
SCNuPTR
formato especificador de conversão para a entrada de um valor decimal inteiro sem sinal do tipo 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 respectivamente, equivalente a %u para unsigned 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.

(macro constante)
SCNo8
SCNo16
SCNo32
SCNo64
SCNoLEAST8
SCNoLEAST16
SCNoLEAST32
SCNoLEAST64
SCNoFAST8
SCNoFAST16
SCNoFAST32
SCNoFAST64
SCNoMAX
SCNoPTR
formato especificador de conversão para uma entrada sem sinal octal valor inteiro do tipo 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 respectivamente, equivalente a %o para unsigned int
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.

(macro constante)
SCNx8
SCNx16
SCNx32
SCNx64
SCNxLEAST8
SCNxLEAST16
SCNxLEAST32
SCNxLEAST64
SCNxFAST8
SCNxFAST16
SCNxFAST32
SCNxFAST64
SCNxMAX
SCNxPTR
formato especificador de conversão para a entrada de um valor hexadecimal sem sinal inteiro do tipo 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 respectivamente, equivalente a %x para unsigned 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.

(macro constante)
SCNX8
SCNX16
SCNX32
SCNX64
SCNXLEAST8
SCNXLEAST16
SCNXLEAST32
SCNXLEAST64
SCNXFAST8
SCNXFAST16
SCNXFAST32
SCNXFAST64
SCNXMAX
SCNXPTR
formato especificador de conversão para a entrada de um valor hexadecimal sem sinal maiúscula inteiro do tipo 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 respectivamente, equivalente a %X para unsigned int
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.

(macro constante)