Null-terminated wide strings - cppreference.com
De cppreference.com
Uma string terminada em null larga é uma seqüência de caracteres largos válidos, terminando com um caractere nulo.
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.
Funções
Classificação de caracteres Original: Character classification The text has been machine-translated via Google Translate. | |
Defined in header | |
verifica se um caractere largo é alfanumérico Original: checks if a wide character is alphanumeric The text has been machine-translated via Google Translate. (função) [edit] | |
verifica se um caractere largo é alfabética Original: checks if a wide character is alphabetic The text has been machine-translated via Google Translate. (função) [edit] | |
verifica se um caractere largo é minúscula Original: checks if a wide character is lowercase The text has been machine-translated via Google Translate. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
(C++11) |
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. (função) [edit] |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
Manipulação personagem Original: Character manipulation The text has been machine-translated via Google Translate. | |
Defined in header | |
converte um caractere largo para minúsculas Original: converts a wide character to lowercase The text has been machine-translated via Google Translate. (função) [edit] | |
converte um caractere largo para maiúsculas Original: converts a wide character to uppercase The text has been machine-translated via Google Translate. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
| 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
|
Conversões para formatos numéricos Original: Conversions to numeric formats The text has been machine-translated via Google Translate. | |
Defined in header | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
Defined in header | |
(C++11) |
converte uma cadeia de largura para std::intmax_t ou std::uintmax_t Original: converts a wide string to std::intmax_t or std::uintmax_t The text has been machine-translated via Google Translate. (função) [edit] |
Manipulação de cadeia Original: String manipulation The text has been machine-translated via Google Translate. | |
Defined in header | |
copia uma cadeia ampla para outro Original: copies one wide string to another The text has been machine-translated via Google Translate. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
Exame String Original: String examination The text has been machine-translated via Google Translate. | |
Defined in header | |
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. (função) [edit] | |
compara duas seqüências de largura Original: compares two wide strings The text has been machine-translated via Google Translate. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
retorna o comprimento máximo do segmento inicial que consiste de Original: returns the length of the maximum initial segment that consists The text has been machine-translated via Google Translate. (função) [edit] | |
retorna o comprimento máximo do segmento inicial que consiste de apenas Original: returns the length of the maximum initial segment that consists The text has been machine-translated via Google Translate. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
Manipulação de grande variedade de caracteres Original: Wide character array manipulation The text has been machine-translated via Google Translate. | |
Defined in header | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
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. (função) [edit] | |
Tipos
Defined in header | |
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. |
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. |
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. |
Macros
Defined in header | |
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. (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. (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. (macro constante) |