Null-terminated wide strings
Da cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Uma string terminada em null larga é uma seqüência de caracteres largos válidos, terminando com um nulo caracteres.
Original:
A null-terminated wide string is a sequence of valid wide characters, ending with a null-character.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Funções
Original: Character classification 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
<wctype.h> | |
verifica se um caractere largo é alfanumérico Original: checks if a wide character is alphanumeric The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
verifica se um caractere largo é alfabética Original: checks if a wide character is alphabetic The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
verifica se um caractere largo é um personagem minúsculas Original: checks if a wide character is an lowercase character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
verifica se um caractere largo é uma letra maiúscula Original: checks if a wide character is an uppercase character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
verifica se um caractere largo é um dígito Original: checks if a wide character is a digit The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
checa se o personagem é um personagem hexadecimal Original: checks if a character is a hexadecimal character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
checa se o personagem de largura é um caractere de controle Original: checks if a wide character is a control character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
verifica se um caractere largo é um personagem gráfico Original: checks if a wide character is a graphical character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
verifica se um caractere largo é um caractere de espaço Original: checks if a wide character is a space character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
(C99) |
verifica se um caractere largo é um personagem branco Original: checks if a wide character is a blank character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
verifica se um personagem é um personagem de largura de impressão Original: checks if a wide character is a printing character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
verifica se um caractere largo é um caractere de pontuação Original: checks if a wide character is a punctuation character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
classifica um caractere de largura de acordo com a categoria LC_CTYPE especificado Original: classifies a wide character according to the specified LC_CTYPE category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
olha uma categoria de classificação personagem na localidade C atual Original: looks up a character classification category in the current C locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
Original: Character manipulation 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
<wctype.h> | |
converte um caractere largo para minúsculas Original: converts a wide character to lowercase The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
converte um caractere largo para maiúsculas Original: converts a wide character to uppercase The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
realiza o mapeamento de caracteres de acordo com a categoria especificada LC_CTYPE mapeamento Original: performs character mapping according to the specified LC_CTYPE mapping category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
olha uma categoria de mapeamento de caracteres na localidade C atual Original: looks up a character mapping category in the current C locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
ASCII values (hex) |
characters | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 - 8 | 0x00-0x08
|
control codes (NUL , etc.)
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
9 | 0x09
|
tab (\t )
|
≠0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
10 - 13 | 0x0A-0x0D
|
whitespaces (\n ,\v ,\f ,\r )
|
≠0
|
0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
14 - 31 | 0x0E-0x1F
|
control codes | ≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
32 | 0x20
|
space | 0
|
≠0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
33 - 47 | 0x21-0x2F
|
!"#$%&'()*+,-./
|
0
|
≠0
|
0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
48 - 57 | 0x30-0x39
|
0123456789
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
0
|
0
|
0
|
≠0
|
≠0
|
58 - 64 | 0x3a-0x40
|
:;<=>?@
|
0
|
≠0
|
0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
65 - 70 | 0x41-0x46
|
ABCDEF
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
≠0
|
≠0
|
0
|
0
|
≠0
|
71 - 90 | 0x47-0x5A
|
GHIJKLMNOPQRSTUVWXYZ
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
≠0
|
≠0
|
0
|
0
|
0
|
91 - 96 | 0x5B-0x60
|
[\]^_`
|
0
|
≠0
|
0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
97 -102 | 0x61-0x66
|
abcdef
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
≠0
|
0
|
≠0
|
0
|
≠0
|
103-122 | 0x67-0x7A
|
ghijklmnopqrstuvwxyz
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
≠0
|
0
|
≠0
|
0
|
0
|
123-126 | 0x7B-0x7E
|
{|}~
|
0
|
≠0
|
0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
127 | 0x7F
|
backspace character (DEL )
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
Original: Conversions to numeric formats 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
<wchar.h> | |
converte uma cadeia de largura para um valor inteiro Original: converts a wide string to an integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
converte uma cadeia ampla para um valor inteiro sem sinal Original: converts a wide string to an unsigned integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
converte uma cadeia de largura para um valor de ponto flutuante Original: converts a wide string to a floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
Defined in header
<inttypes.h> | |
(C99) (C99) |
converte uma cadeia de largura para intmax_t ou uintmax_t Original: The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
Original: String manipulation 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
<wchar.h> | |
copia uma cadeia ampla para outro Original: copies one wide string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
copia uma certa quantidade de caracteres de largura a partir de uma corda a outra Original: copies a certain amount of wide characters from one string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
anexa uma cópia de uma cadeia ampla para outro Original: appends a copy of one wide string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
acrescenta uma certa quantidade de caracteres de largura a partir de uma ampla cadeia para outra Original: appends a certain amount of wide characters from one wide string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
transformar uma string de largura para que wcscmp produziria o mesmo resultado que wcscoll Original: transform a wide string so that wcscmp would produce the same result as wcscoll The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
Original: String examination 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
<wchar.h> | |
retorna o comprimento de uma cadeia de largura Original: returns the length of a wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
compara duas seqüências de largura Original: compares two wide strings The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
compara uma certa quantidade de caracteres a partir de duas cadeias de largura Original: compares a certain amount of characters from two wide strings The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
compara duas seqüências de largura, de acordo com a localidade Original: compares two wide strings in accordance to the current locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
encontra a primeira ocorrência de um caractere largo em uma seqüência de largura Original: finds the first occurrence of a wide character in a wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
localiza a última ocorrência de um caractere largo em uma seqüência de largura Original: finds the last occurrence of a wide character in a wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
retorna o comprimento máximo do segmento inicial que consiste de apenas os caracteres de largura encontrados na outra cadeia de largura Original: returns the length of the maximum initial segment that consists of only the wide characters found in another wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
retorna o comprimento máximo do segmento inicial que consiste de apenas a gama' não encontrado em outra cadeia de largura Original: returns the length of the maximum initial segment that consists of only the wide not found in another wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
encontra o primeiro local de qualquer caractere de largura em uma cadeia de largura, em outra seqüência de largura Original: finds the first location of any wide character in one wide string, in another wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
encontra a primeira ocorrência de uma seqüência de largura dentro de outra seqüência de largura Original: finds the first occurrence of a wide string within another wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
encontra o próximo token em uma seqüência de largura Original: finds the next token in a wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
Original: Wide character array manipulation 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
<wchar.h> | |
copia uma certa quantidade de caracteres de largura entre duas matrizes não sobrepostos Original: copies a certain amount of wide characters between two non-overlapping arrays The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
copia uma certa quantidade de caracteres de largura entre os dois, possivelmente sobrepostas, arrays Original: copies a certain amount of wide characters between two, possibly overlapping, arrays The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
compara uma certa quantidade de caracteres de largura a partir de duas matrizes Original: compares a certain amount of wide characters from two arrays The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
encontra a primeira ocorrência de um caractere largo em uma matriz de caracteres de largura Original: finds the first occurrence of a wide character in a wide character array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
copia o caráter dado de largura para cada posição em uma matriz de caracteres de largura Original: copies the given wide character to every position in a wide character array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
[editar] Tipos
Defined in header
<wctype.h> | |
wctrans_t
|
tipo escalar que contém localidade específica mapeamento de caracteres
Original: scalar type that holds locale-specific character mapping The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
wctype_t
|
tipo escalar que contém localidade específica classificação de caracteres
Original: scalar type that holds locale-specific character classification The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
wint_t
|
tipo inteiro que pode conter qualquer caracter válido de largura e pelo menos mais um valor
Original: integer type that can hold any valid wide character and at least one more value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Macros
Defined in header
<wchar.h> | |
WEOF |
um valor de caracteres não-wint_t tipo usado para indicar erros Original: a non-character value of type wint_t used to indicate errors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (macro constante) |
WCHAR_MIN |
o menor valor válido de wchar_t Original: the smallest valid value of wchar_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) |
WCHAR_MAX |
o maior valor válido de wchar_t Original: the largest valid value of wchar_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) |