std::wcscoll
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. |
Elemento definito nell'header <cwchar> | ||
int wcscoll(constwchar_t* lhs, constwchar_t* rhs ); | ||
Confronta due stringhe larghe null-terminated base alle impostazioni internazionali installato più di recente da std::setlocale, come definito dalla categoria LC_COLLATE.
Original:
Compares two null-terminated wide strings according to the locale most recently installed by std::setlocale, as defined by the LC_COLLATE category.
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.
Indice |
[modifica]Parametri
lhs, rhs | - | puntatori alle stringhe larghe null-terminated da confrontare Original: pointers to the null-terminated wide strings to compare 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
Valore negativo se
lhs
è meno (precede) rhs
.Original:
Negative value if
lhs
is less than (precedes) rhs
.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.
0 se
lhs
è pari arhs
.Original:
0 if
lhs
is equal torhs
.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.
Valore positivo se
lhs
è superiore (segue) rhs
.Original:
Positive value if
lhs
is greater than (follows) rhs
.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]Note
Ordine di collazione è tipicamente lessicografico case-insensitive confronto in base all'alfabeto il locale, ma in alcuni locali, gruppi di caratteri confrontare unità di confronto come singole. Ad esempio, "ch" in lingua ceca segue "h" e precede "i" e "ng" in gallese segue "g" e precede "h".
Original:
Collation order is typically lexicographic case-insensitive comparison according to the locale's alphabet, but in some locales, groups of characters compare as single collation units. For example, "ch" in Czech follows "h" and precedes "i", and "ng" in Welsh follows "g" and precedes "h".
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]Esempio
This section is incomplete Reason: no example |
[modifica]Vedi anche
confronta due stringhe in accordo con i parametri locali Original: compares two 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) | |
[virtuale] | confronta due stringhe utilizzando le regole di confronto di questa faccetta Original: compares two strings using this facet's collation rules The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuale protetto funzione of std::collate membro) |
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) | |
C documentation for wcscoll |