Null-terminated wide strings
Материал из cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Нулем строку широких представляет собой последовательность действительных широких символов, заканчивающийся нулевым символом.
Original:
A null-terminated wide string is a sequence of valid wide characters, ending with a null character.
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.
[править] Функции
Original: Character classification The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| Определено в файле <cwctype>
| |
| проверяет, является ли широкий символ алфавитно-цифровыми Original: checks if a wide character is alphanumeric The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли широкий символ буквенный Original: checks if a wide character is alphabetic The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли широкий символ в нижнем регистре Original: checks if a wide character is lowercase The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли широкий характер символа верхнего регистра Original: checks if a wide character is an uppercase character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли широкий символ является цифрой Original: checks if a wide character is a digit The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли символ шестнадцатеричным Original: checks if a character is a hexadecimal character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли широкий символ является управляющим символом Original: checks if a wide character is a control character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли широкий символ представляет собой графический символ Original: checks if a wide character is a graphical character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли широкий символ пробела Original: checks if a wide character is a space character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| (C++11) |
проверяет, является ли широкий символ пробела Original: checks if a wide character is a blank character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) |
| проверяет, является ли широкий символ является печатным символом Original: checks if a wide character is a printing character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| проверяет, является ли широкий символ является символом пунктуации Original: checks if a wide character is a punctuation character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| классифицирует широкий характер в соответствии с указанной категорией LC_CTYPE Original: classifies a wide character according to the specified LC_CTYPE category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| смотрит категории классификации символов в текущей локали C Original: looks up a character classification category 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. (функция) | |
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. | |
| Определено в файле <cwctype>
| |
| преобразует широкий символ в нижний регистр Original: converts a wide 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. (функция) | |
| преобразует широкий символ в верхний регистр 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. (функция) | |
| выполняет сопоставление символов в соответствии с указанным категориям отображение LC_CTYPE Original: performs character mapping according to the specified LC_CTYPE mapping category The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| смотрит категорию характер отображения в текущей локали C Original: looks up a character mapping category 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. (функция) | |
| ASCII values (hex) |
characters | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 - 8 | 0x00-0x08
|
control codes (NUL, etc.)
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 9 | 0x09
|
tab (\t)
|
≠0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 10 - 13 | 0x0A-0x0D
|
whitespaces (\n,\v,\f,\r)
|
≠0
|
0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 14 - 31 | 0x0E-0x1F
|
control codes | ≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 32 | 0x20
|
space | 0
|
≠0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 33 - 47 | 0x21-0x2F
|
!"#$%&'()*+,-./
|
0
|
≠0
|
0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 48 - 57 | 0x30-0x39
|
0123456789
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
0
|
0
|
0
|
≠0
|
≠0
|
| 58 - 64 | 0x3a-0x40
|
:;<=>?@
|
0
|
≠0
|
0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 65 - 70 | 0x41-0x46
|
ABCDEF
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
≠0
|
≠0
|
0
|
0
|
≠0
|
| 71 - 90 | 0x47-0x5A
|
GHIJKLMNOPQRSTUVWXYZ
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
≠0
|
≠0
|
0
|
0
|
0
|
| 91 - 96 | 0x5B-0x60
|
[\]^_`
|
0
|
≠0
|
0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 97 -102 | 0x61-0x66
|
abcdef
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
≠0
|
0
|
≠0
|
0
|
≠0
|
| 103-122 | 0x67-0x7A
|
ghijklmnopqrstuvwxyz
|
0
|
≠0
|
0
|
0
|
≠0
|
0
|
≠0
|
≠0
|
0
|
≠0
|
0
|
0
|
| 123-126 | 0x7B-0x7E
|
{|}~
|
0
|
≠0
|
0
|
0
|
≠0
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
| 127 | 0x7F
|
backspace character (DEL)
|
≠0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
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. | |
| Определено в файле <cwchar>
| |
| преобразует широкий строку в целое значение Original: converts a wide string to an integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| преобразует широкий строка целое число без знака Original: converts a wide string to an unsigned integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| Преобразует строку широких значение с плавающей точкой Original: converts a wide string to a floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| Определено в файле <cinttypes>
| |
| (C++11) (C++11) |
преобразует широкий строку std::intmax_t или std::uintmax_t Original: converts a wide string to std::intmax_t or std::uintmax_t 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. | |
| Определено в файле <cwchar>
| |
| копирует одну широкую строку в другую Original: copies one wide string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| копирует определенное количество широких символов из одной строки в другую Original: copies a certain amount of wide characters from one string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| добавляется копия одной широкой строки в другую Original: appends a copy of one wide string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| добавляет определенное количество широких символов из одной строки широких в другую Original: appends a certain amount of wide characters from one wide string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| преобразования строки широких, так что wcscmp бы тот же результат, как 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. (функция) | |
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. | |
| Определено в файле <cwchar>
| |
| возвращает длину строки широких Original: returns the length of a wide string 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 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| сравнивает определенное количество символов из двух широких строк Original: compares a certain amount of characters from two wide strings 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. (функция) | |
| находит первое вхождение широкого символа в строку широких Original: finds the first occurrence of a wide character in a wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| находит последнее вхождение широкого символа в строку широких Original: finds the last occurrence of a wide character in a wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| возвращает максимальную длину начального сегмента, который состоит только широкие символы найдены в другую строку широких Original: returns the length of the maximum initial segment that consists of only the wide characters found in another wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| возвращает максимальную длину начального сегмента, который состоит из только широкий не найдены в другую строку широких Original: returns the length of the maximum initial segment that consists of only the wide not found in another wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| находит первое местоположение любого широких символов в одной строке широких, в другой широкий строку Original: finds the first location of any wide character in one wide string, in another wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| находит первое появление широкого строки в другую строку широких Original: finds the first occurrence of a wide string within another wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| находит следующий токен в широком строку Original: finds the next token in a wide string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
Original: Wide character array manipulation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| Определено в файле <cwchar>
| |
| копирует определенное количество широких символов между двумя неперекрывающимися массивов Original: copies a certain amount of wide characters between two non-overlapping arrays The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| копирует определенное количество широких символов между двумя, возможно, перекрытия, массивы Original: copies a certain amount of wide characters between two, possibly overlapping, arrays The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| сравнивает определенное количество широких символов из двух массивов Original: compares a certain amount of wide characters from two arrays The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| находит первое появление широкого характера в широком спектре характера Original: finds the first occurrence of a wide character in a wide character array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| копирует данную широкий характер каждой позиции в широком спектре характера Original: copies the given wide character to every position in a wide character array The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
[править] Типы
| Определено в файле <cwctype>
| |
wctrans_t
|
скалярного типа, который содержит локали спецификой отображения
Original: scalar type that holds locale-specific character mapping The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
wctype_t
|
скалярного типа, который содержит локали специфика классификации
Original: scalar type that holds locale-specific character classification The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
wint_t
|
целочисленный тип, который может содержать любые допустимые широкий характер и по крайней мере еще одно значение
Original: integer type that can hold any valid wide character and at least one more value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[править] Макросы
| Определено в файле <cwchar>
| |
| WEOF |
несимвольного значение типа wint_t используется для обозначения ошибок Original: a non-character value of type wint_t used to indicate errors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (константа-макрос) |
| WCHAR_MIN |
наименьшее допустимое значение wchar_t Original: the smallest valid value of wchar_t The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (константа-макрос) |
| WCHAR_MAX |
крупнейший допустимое значение wchar_t Original: the largest valid value of wchar_t The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (константа-макрос) |