Пространства имён
Варианты
Действия

std::strcoll

Материал из cppreference.com

 
 
 
Нульзаканчивающихся строк байт
Функции
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Персонаж манипуляции
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.
Преобразование в цифровой формат
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.
Строками
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.
strcpy
strncpy
strcat
strncat
strxfrm
Струнный экспертизы
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.
Память манипуляции
Original:
Memory manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
memchr
memcmp
memset
memcpy
memmove
Разное
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strerror
 
Заголовочный файл <cstring>
int strcoll( const char* lhs, const char* rhs );
Сравнивает две строки с нулевым символом байт в соответствии с текущей локалью, как это определено LC_COLLATE категории.
Original:
Compares two null-terminated byte strings according to the current locale 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.

Содержание

[править] Параметры

lhs, rhs -
указателей на строки с нулевым символом байт для сравнения
Original:
pointers to the null-terminated byte 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.

[править] Возвращаемое значение

Отрицательное значение, если lhs является меньше (предшествует) 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.
0 если lhs является равно rhs.
Original:
0 if lhs is equal to rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Положительное значение, если lhs является больше (следует) 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.

[править] Notes

Сопоставление того, как правило, лексикографическое сравнение без учета регистра в соответствии с алфавитом языка, но в некоторых местах, группы символов сравнить как отдельные единицы сортировки. Например, "ч" в Чехии следующим образом: "ч" и предшествует «я», и «нг» в валлийском следует "г" и предшествует "з".
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.

[править] Пример

[править] См. также

сравнивает две строки широких в соответствии с текущей локали
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.

(функция) [edit]
[virtual]
сравнение двух строк с использованием сортировки эту грань правилами
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.

(virtual protected std::collate функция-член) [edit]
преобразование строки, так что STRCMP бы тот же результат, как strcoll
Original:
transform a string so that strcmp would produce the same result as strcoll
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]