이름공간
변수
행위

Null-terminated wide strings

cppreference.com
< cpp‎ | string

A null-terminated wide string is a sequence of valid wide characters, ending with a null character.

목차

[편집] Functions

Character classification
<cwctype> 헤더에 정의되어 있음.
checks if a wide character is alphanumeric
(function) [edit]
checks if a wide character is alphabetic
(function) [edit]
checks if a wide character is lowercase
(function) [edit]
checks if a wide character is an uppercase character
(function) [edit]
checks if a wide character is a digit
(function) [edit]
checks if a character is a hexadecimal character
(function) [edit]
checks if a wide character is a control character
(function) [edit]
checks if a wide character is a graphical character
(function) [edit]
checks if a wide character is a space character
(function) [edit]
(C++11)
checks if a wide character is a blank character
(function) [edit]
checks if a wide character is a printing character
(function) [edit]
checks if a wide character is a punctuation character
(function) [edit]
classifies a wide character according to the specified LC_CTYPE category
(function) [edit]
looks up a character classification category in the current C locale
(function) [edit]
Character manipulation
<cwctype> 헤더에 정의되어 있음.
converts a wide character to lowercase
(function) [edit]
converts a wide character to uppercase
(function) [edit]
performs character mapping according to the specified LC_CTYPE mapping category
(function) [edit]
looks up a character mapping category in the current C locale
(function) [edit]
ASCII values
(hex)
characters

iscntrl
iswcntrl

isprint
iswprint

isspace
iswspace

isblank
iswblank

isgraph
iswgraph

ispunct
iswpunct

isalnum
iswalnum

isalpha
iswalpha

isupper
iswupper

islower
iswlower

isdigit
iswdigit

isxdigit
iswxdigit

0 - 8 0x00-0x08 control codes (NUL, etc.) 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
9 0x09 tab (\t) 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
10 - 13 0x0A-0x0D whitespaces (\n,\v,\f,\r) 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
14 - 31 0x0E-0x1F control codes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
32 0x20 space 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
33 - 47 0x21-0x2F !"#$%&'()*+,-./ 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
48 - 57 0x30-0x39 0123456789 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes
58 - 64 0x3a-0x40 :;<=>?@ 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
65 - 70 0x41-0x46 ABCDEF 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes
71 - 90 0x47-0x5A GHIJKLMNOPQRSTUVWXYZ 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
91 - 96 0x5B-0x60 [\]^_` 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
97 -102 0x61-0x66 abcdef 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes
103-122 0x67-0x7A ghijklmnopqrstuvwxyz 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
123-126 0x7B-0x7E {|}~ 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
127 0x7F backspace character (DEL) 틀:cpp/string/character classes/yes 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no 틀:cpp/string/character classes/no
Conversions to numeric formats
<cwchar> 헤더에 정의되어 있음.
converts a wide string to an integer value
(function) [edit]
converts a wide string to an unsigned integer value
(function) [edit]
converts a wide string to a floating point value
(function) [edit]
<cinttypes> 헤더에 정의되어 있음.
(C++11)
(C++11)
converts a wide string to std::intmax_t or std::uintmax_t
(function) [edit]
String manipulation
<cwchar> 헤더에 정의되어 있음.
copies one wide string to another
(function) [edit]
copies a certain amount of wide characters from one string to another
(function) [edit]
appends a copy of one wide string to another
(function) [edit]
appends a certain amount of wide characters from one wide string to another
(function) [edit]
transform a wide string so that wcscmp would produce the same result as wcscoll
(function) [edit]
String examination
<cwchar> 헤더에 정의되어 있음.
returns the length of a wide string
(function) [edit]
compares two wide strings
(function) [edit]
compares a certain amount of characters from two wide strings
(function) [edit]
compares two wide strings in accordance to the current locale
(function) [edit]
finds the first occurrence of a wide character in a wide string
(function) [edit]
finds the last occurrence of a wide character in a wide string
(function) [edit]
returns the length of the maximum initial segment that consists
of only the wide characters found in another wide string
(function) [edit]
returns the length of the maximum initial segment that consists
of only the wide not found in another wide string
(function) [edit]
finds the first location of any wide character in one wide string, in another wide string
(function) [edit]
finds the first occurrence of a wide string within another wide string
(function) [edit]
finds the next token in a wide string
(function) [edit]
Wide character array manipulation
<cwchar> 헤더에 정의되어 있음.
copies a certain amount of wide characters between two non-overlapping arrays
(function) [edit]
copies a certain amount of wide characters between two, possibly overlapping, arrays
(function) [edit]
compares a certain amount of wide characters from two arrays
(function) [edit]
finds the first occurrence of a wide character in a wide character array
(function) [edit]
copies the given wide character to every position in a wide character array
(function) [edit]

[편집] Types

<cwctype> 헤더에 정의되어 있음.
wctrans_t scalar type that holds locale-specific character mapping
wctype_t scalar type that holds locale-specific character classification
wint_t integer type that can hold any valid wide character and at least one more value

[편집] Macros

<cwchar> 헤더에 정의되어 있음.
WEOF
a non-character value of type wint_t used to indicate errors
(macro constant)
WCHAR_MIN
the smallest valid value of wchar_t
(macro constant)
WCHAR_MAX
the largest valid value of wchar_t
(macro constant)