Namespace
Varianti

btowc

Da cppreference.com.
< c‎ | string‎ | multibyte

 
 
 
Stringhe multibyte null-terminated
Wide / multibyte conversioni
Original:
Wide/multibyte conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
mbsinit
Tipi
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
mbstate_t
 
Defined in header <wchar.h>
wint_t btowc( int c );
Allarga un singolo byte c carattere nell'equivalente carattere esteso.
Original:
Widens a single-byte character c to its wide character equivalent.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Codifiche dei caratteri multibyte più utilizzare i codici a un byte per rappresentare i caratteri del set di caratteri ASCII. Questa funzione può essere utilizzata per convertire i caratteri tali wchar_t.
Original:
Most multibyte character encodings use single-byte codes to represent the characters from the ASCII character set. This function may be used to convert such characters to wchar_t.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Indice

[modifica] Parametri

c -
carattere a singolo byte ad allargarsi
Original:
single-byte character to widen
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Valore di ritorno

WEOF if c is EOF

rappresentazione dei caratteri gamma di c se (unsigned char)c è un valido carattere a singolo byte, nello stato del cambio iniziale, WEOF altrimenti.
Original:
wide character representation of c if (unsigned char)c is a valid single-byte character in the initial shift state, WEOF otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Esempio

[modifica] Vedi anche

restringe un carattere esteso ad un carattere a singolo byte stretto, se possibile
Original:
narrows a wide character to a single-byte narrow character, if possible
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(funzione) [edit]