Espaces de noms
Variantes

btowc

De cppreference.com

<metanoindex/>

<tbody> </tbody>
Déclaré dans l'en-tête <wchar.h>
wint_t btowc( int c );
Élargit un c caractères mono-octet à son équivalent pour les caractères larges .
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.
Codages de caractères multi-octets plus utiliser un seul octet codes pour représenter les caractères du jeu de caractères ASCII. Cette fonction peut être utilisée pour convertir ces caractères à 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.

Paramètres

c -
caractères mono-octet de se creuser
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.

Retourne la valeur

WEOF if c is EOF

représentation des caractères gamme de c si (unsigned char)c est valide caractères mono-octet dans l'état initial, WEOF autrement .
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.

Exemple

Voir aussi

rétrécit un caractère large à un caractère sur un octet étroit, si possible
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.

(fonction) [edit]