std::wctob

Defined in header <cwchar> int wctob( std::wint_t c ); Narrows a wide character c if its multibyte character equivalent in the initial shift state is a single byte. This is typically possible for the characters from the ASCII character set, since most multibyte encodings (such as UTF-8) use single bytes to encode those characters. Parameters c - wide character to narrow Return value EOF if c does not represent a multibyte character with length 1 in initial shi

std::wcstoul

Defined in header <cwchar> unsigned long wcstoul( const wchar_t* str, wchar_t** str_end, int base ); unsigned long long wcstoull( const wchar_t* str, wchar_t** str_end, int base ); (since C++11) Interprets an unsigned integer value in a wide string pointed to by str. Discards any whitespace characters (as identified by calling isspace()) until the first non-whitespace character is found, then takes as many characters as possible to form a valid base-n (where n=ba

std::wcstok

Defined in header <cwchar> wchar_t* wcstok( wchar_t* str, const wchar_t* delim, wchar_t ** ptr); Finds the next token in a null-terminated wide string pointed to by str. The separator characters are identified by null-terminated wide string pointed to by delim. This function is designed to be called multiples times to obtain successive tokens from the same string. If str != NULL, the call is treated as the first call to std::wcstok for this particular wide string. The fu

std::wcstoimax

Defined in header <cinttypes> std::intmax_t wcstoimax( const wchar_t* nptr, wchar_t** endptr, int base ); (since C++11) std::uintmax_t wcstoumax( const wchar_t* nptr, wchar_t** endptr, int base ); (since C++11) Interprets an unsigned integer value in a wide string pointed to by nptr. Discards any whitespace characters (as identified by calling isspace()) until the first non-whitespace character is found, then takes as many characters as possible to form a valid base-n

std::wcstombs

Defined in header <cstdlib> std::size_t wcstombs( char* dst, const wchar_t* src, std::size_t len); Converts a sequence of wide characters from the array whose first element is pointed to by src to its narrow multibyte representation that begins in the initial shift state. Converted characters are stored in the successive elements of the char array pointed to by dst. No more than len bytes are written to the destination array. Each character is converted as if by a call to s

std::wcstol

Defined in header <cwchar> long wcstol( const wchar_t* str, wchar_t** str_end, int base ); long long wcstoll( const wchar_t* str, wchar_t** str_end, int base ); (since C++11) Interprets an integer value in a wide string pointed to by str. Discards any whitespace characters (as identified by calling isspace()) until the first non-whitespace character is found, then takes as many characters as possible to form a valid base-n (where n=base) integer number representa

std::wcstof

Defined in header <cwchar> float wcstof( const wchar_t* str, wchar_t** str_end ); (since C++11) double wcstod( const wchar_t* str, wchar_t** str_end ); long double wcstold( const wchar_t* str, wchar_t** str_end ); (since C++11) Interprets a floating point value in a wide string pointed to by str. Function discards any whitespace characters (as determined by std::isspace()) until first non-whitespace character is found. Then it takes as many characters

std::wcsspn

Defined in header <cwchar> size_t wcsspn( const wchar_t* dest, const wchar_t* src ); Returns the length of the maximum initial segment of the wide string pointed to by dest, that consists of only the characters found in wide string pointed to by src. Parameters dest - pointer to the null-terminated wide string to be analyzed src - pointer to the null-terminated wide string that contains the characters to search for Return value The length of the maximum

std::wcsstr

Defined in header <cwchar> const wchar_t* wcsstr( const wchar_t* dest, const wchar_t* src ); wchar_t* wcsstr( wchar_t* dest, const wchar_t* src ); Finds the first occurrence of the wide string src in the wide string pointed to by dest. The terminating null characters are not compared. Parameters dest - pointer to the null-terminated wide string to examine src - pointer to the null-terminated wide string to search for Return value Pointe

std::wcsrtombs

Defined in header <cwchar> std::size_t wcsrtombs( char* dst, const wchar_t** src, std::size_t len, std::mbstate_t* ps ); Converts a sequence of wide characters from the array whose first element is pointed to by *src to its narrow multibyte representation that begins in the conversion state described by *ps. If dst is not null, converted characters are stored in the successive elements of the char array po