Null-terminated wide strings
De 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. |
Una cadena terminada en nulo todo es una secuencia de caracteres válidos de ancho, que termina con un carácter 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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Funciones
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. | |
Definido en la cabecera
<wctype.h> | |
Comprueba si un carácter ancho es 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. (función) | |
Comprueba si un carácter ancho es alfabético 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. (función) | |
Comprueba si un carácter ancho es un carácter en minúscula 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. (función) | |
Comprueba si un carácter ancho es un carácter en mayú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. (función) | |
Comprueba si un carácter ancho es un 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. (función) | |
comprueba si un carácter es un carácter 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. (función) | |
comprueba si un carácter ancho es un carácter de control 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. (función) | |
Comprueba si un carácter ancho es un carácter 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. (función) | |
Comprueba si un carácter ancho es un carácter de espacio 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. (función) | |
(C99) |
Comprueba si un carácter ancho es un carácter en blanco 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. (función) |
Comprueba si un carácter ancho es un personaje de la impresión 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. (función) | |
Comprueba si un carácter ancho es un personaje de puntuacion 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. (función) | |
clasifica a un carácter ancho según la categoría 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. (función) | |
busca una categoría de clasificación de caracteres en el actual entorno nacional C 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. (función) | |
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. | |
Definido en la cabecera
<wctype.h> | |
convierte una carácter ancho a 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. (función) | |
convierte una carácter ancho a mayú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. (función) | |
realiza la asignación de caracteres según la categoría LC_CTYPE mapeo especificado 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. (función) | |
busca una categoría de asignación de caracteres en el actual entorno nacional C 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. (función) |
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. | |
Definido en la cabecera
<wchar.h> | |
convierte una cadena gruesa y un valor entero 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. (función) | |
convierte una cadena gruesa y un valor entero sin signo 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. (función) | |
convierte una cadena de ancho a un valor de punto flotante 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. (función) | |
Definido en la cabecera
<inttypes.h> | |
(C99)(C99) |
convierte una cadena ancha para intmax_t o 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. (función) |
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. | |
Definido en la cabecera
<wchar.h> | |
copia una cadena ancha a otro 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. (función) | |
copia una cierta cantidad de caracteres anchos a partir de una cadena a otra 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. (función) | |
anexa una copia de una cadena ancha a otro 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. (función) | |
agrega una cierta cantidad de caracteres anchos de una cadena ancha a otro 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. (función) | |
transformar una cadena de ancho para que wcscmp produciría el mismo 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. (función) | |
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. | |
Definido en la cabecera
<wchar.h> | |
devuelve la longitud de una cadena de ancho 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. (función) | |
compara dos cadenas de ancho 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. (función) | |
compara una cierta cantidad de caracteres a partir de dos cadenas anchas 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. (función) | |
compara dos cadenas anchas, de acuerdo a la localización actual 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. (función) | |
encuentra la primera aparición de un carácter ancho en una cadena de ancho 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. (función) | |
considera que la última aparición de un caracter en una cadena amplia gama 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. (función) | |
devuelve la longitud del segmento inicial máximo que consiste de sólo los caracteres anchos que se encuentran en otra cadena de ancho 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. (función) | |
devuelve la longitud del segmento inicial máximo que consiste de sólo el ancho' no se encuentra en otra cadena de ancho 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. (función) | |
encuentra la primera ubicación de cualquier carácter ancho en una cadena de ancho, en otra cadena de ancho 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. (función) | |
encuentra la primera aparición de una cadena dentro de otra cadena amplia gama 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. (función) | |
encuentra el token siguiente en una cadena de ancho 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. (función) |
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. | |
Definido en la cabecera
<wchar.h> | |
copia una cierta cantidad de caracteres anchos entre dos matrices que no se solapan 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. (función) | |
copia una cierta cantidad de caracteres anchos entre dos, posiblemente se superponen, las matrices 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. (función) | |
compara una cierta cantidad de caracteres anchos a partir de dos matrices 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. (función) | |
encuentra la primera aparición de un carácter de ancho en una matriz de caracteres de ancho 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. (función) | |
copia el carácter determinado de ancho a cada posición en una matriz de caracteres de ancho 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. (función) |
[editar] Tipos
Definido en la cabecera
<wctype.h> | |
wctrans_t
|
escalar tipo que mantiene la configuración regional específica asignación 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
|
escalar tipo que mantiene la configuración regional específica clasificación 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 entero que puede contener cualquier carácter válido de ancho y al menos un valor más
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
Definido en la cabecera
<wchar.h> | |
WEOF |
un valor distinto de carácter de tipo wint_t utiliza para indicar errores 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 de constante) |
WCHAR_MIN |
el 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 de constante) |
WCHAR_MAX |
el mayor 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 de constante) |