Null-terminated wide strings
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Una stringa null-terminated larga è una sequenza di caratteri validi ampie, che termina con un carattere null.
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.
[modifica] Funzioni
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. | |
Definizione nell'header
<cwctype> | |
Verifica se un carattere esteso è alfanumerico 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. (funzione) | |
Verifica se un carattere esteso è alfabetico 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. (funzione) | |
Verifica se un carattere esteso è minuscolo Original: checks if a wide character is lowercase The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
Verifica se un carattere esteso è un carattere maiuscolo 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. (funzione) | |
Verifica se un carattere esteso è una cifra 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. (funzione) | |
controlla se un carattere è un carattere esadecimale 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. (funzione) | |
controlla se un carattere esteso è un carattere di controllo 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. (funzione) | |
Verifica se un carattere esteso è un carattere grafico 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. (funzione) | |
Verifica se un carattere esteso è un carattere di spazio 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. (funzione) | |
(C++11) |
Verifica se un carattere esteso è un carattere vuoto 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. (funzione) |
Verifica se un carattere esteso è un carattere di stampa 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. (funzione) | |
Verifica se un carattere esteso è un carattere di punteggiatura 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. (funzione) | |
classifica un carattere esteso a seconda della categoria LC_CTYPE specificato 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. (funzione) | |
cerca una categoria di classificazione dei caratteri nella versione locale corrente 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. (funzione) | |
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. | |
Definizione nell'header
<cwctype> | |
converte un carattere esteso in minuscolo 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. (funzione) | |
converte un carattere esteso in lettere maiuscole 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. (funzione) | |
esegue la mappatura carattere in base alla categoria specificata mappatura LC_CTYPE 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. (funzione) | |
cerca una categoria mappatura personaggio nella versione locale corrente 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. (funzione) |
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. | |
Definizione nell'header
<cwchar> | |
converte una stringa in largo per un valore intero 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. (funzione) | |
converte una stringa in largo per un valore intero senza segno 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. (funzione) | |
converte una stringa in largo per un valore in virgola mobile 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. (funzione) | |
Definizione nell'header
<cinttypes> | |
(C++11) (C++11) |
converte una stringa bersaglio std::intmax_t o 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. You can help to correct and verify the translation. Click here for instructions. (funzione) |
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. | |
Definizione nell'header
<cwchar> | |
copia una stringa larga ad un altro 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. (funzione) | |
copia una certa quantità di caratteri estesi da una stringa in un'altra 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. (funzione) | |
aggiunge una copia di una stringa larga ad un altro 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. (funzione) | |
aggiunge una certa quantità di caratteri estesi da una stringa larga all'altro 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. (funzione) | |
trasformare una stringa larga in modo che wcscmp produrrebbe lo stesso risultato 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. (funzione) | |
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. | |
Definizione nell'header
<cwchar> | |
restituisce la lunghezza di una stringa di larghezza 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. (funzione) | |
confronta due stringhe larghe 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. (funzione) | |
confronta una certa quantità di caratteri da due stringhe larghe 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. (funzione) | |
confronta due stringhe larghe in accordo con i parametri locali 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. (funzione) | |
trova la prima occorrenza di un carattere esteso in una stringa di larghezza 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. (funzione) | |
trova l'ultima occorrenza di un carattere esteso in una stringa di larghezza 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. (funzione) | |
restituisce la lunghezza massima del segmento iniziale che consiste di soli caratteri larghi trovati in un'altra stringa larga 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. (funzione) | |
restituisce la lunghezza massima del segmento iniziale che consiste ampia del solo' non trovato in un'altra stringa larga 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. (funzione) | |
trova la prima posizione di carattere largo in una stringa di larghezza, in un'altra stringa di larghezza 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. (funzione) | |
trova la prima occorrenza di una stringa all'interno di un'altra stringa ampia gamma 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. (funzione) | |
trova il prossimo token in una stringa di larghezza 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. (funzione) |
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. | |
Definizione nell'header
<cwchar> | |
copia un certo numero di caratteri estesi tra due matrici non si sovrappongono 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. (funzione) | |
copia un certo numero di caratteri estesi tra due, forse si sovrappongono, gli array 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. (funzione) | |
confronta una certa quantità di caratteri larghi da due array 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. (funzione) | |
trova la prima occorrenza di un carattere esteso in una vasta gamma di caratteri 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. (funzione) | |
copia il carattere dato largo per ogni posizione in un array di caratteri di larghezza 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. (funzione) |
[modifica] Tipi
Definizione nell'header
<cwctype> | |
wctrans_t
|
scalare tipo che contiene specifica delle impostazioni locali mapping dei caratteri
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
|
scalare tipo che contiene specifica delle impostazioni locali classificazione dei caratteri
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 intero che può contenere qualsiasi carattere valido di larghezza e almeno un altro valore
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. |
[modifica] Macro
Definizione nell'header
<cwchar> | |
WEOF |
un non-valore di carattere wint_t tipo usato per indicare gli errori 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 costante) |
WCHAR_MIN |
il più piccolo valore valido di 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 costante) |
WCHAR_MAX |
il più grande valore valido di 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 costante) |