Espaces de noms
Variantes

std::towlower

De cppreference.com

<metanoindex/>

 
 
Bibliothèque de chaînes de caractères
Chaînes à zéro terminal
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Les chaînes d'octets
Chaines multi-octets
Les chaînes étendues
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
Chaînes à zéro terminal de large
Fonctions
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulation caractère
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.
Conversion aux formats numériques
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.
La manipulation de chaînes
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.
La manipulation des tableaux
Original:
Array manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
wmemcpy
wmemmove
wmemcmp
wmemchr
wmemset
 
<tbody> </tbody>
Déclaré dans l'en-tête <cwctype>
std::wint_t towlower( std::wint_t ch );
Convertit le caractère large en minuscules, si possible .
Original:
Converts the given wide character to lowercase, if possible.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Paramètres

ch -
caractère large à convertir
Original:
wide character to be converted
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

Version en minuscules ou ch ch non modifiée si aucune version en minuscules est répertorié dans la locale courante C .
Original:
Lowercase version of ch or unmodified ch if no lowercase version is listed 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.

Notes

Seulement 1:1 mappage de caractères peut être effectuée par cette fonction, par exemple, la lettre majuscule grecque Σ 'a deux formes minuscules, en fonction de la position dans un mot: «σ» et «ς». Un appel à std::towlower ne peut pas être utilisé pour obtenir la forme correcte minuscules dans cette affaire .
Original:
Only 1:1 character mapping can be performed by this function, e.g. the Greek uppercase letter 'Σ' has two lowercase forms, depending on the position in a word: 'σ' and 'ς'. A call to std::towlower cannot be used to obtain the correct lowercase form in this case.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exemple

#include <iostream>
#include <cwctype>
#include <clocale>

int main()
{
    wchar_t c = L'\u0190'; // Latin capital open E ('Ɛ')

    std::cout << std::hex << std::showbase;
    std::cout << "in the default locale, towlower(" << (std::wint_t)c << ") = "
              << std::towlower(c) << '\n';
    std::setlocale(LC_ALL, "en_US.utf8");
    std::cout << "in Unicode locale, towlower(" << (std::wint_t)c << ") = "
              << std::towlower(c) << '\n';
}

Résultat :

in the default locale, towlower(0x190) = 0x190
in Unicode locale, towlower(0x190) = 0x25b

Voir aussi

convertit le caractère large en majuscules
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.

(fonction) [edit]
converts a character to lowercase using the ctype facet of a locale
(fonction générique) [edit]
convertit un caractère en minuscule
Original:
converts a 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.

(fonction) [edit]
C documentation for towlower