std::wcsrchr

Defined in header <cwchar> const wchar_t* wcsrchr( const wchar_t* str, wchar_t ch ); wchar_t* wcsrchr( wchar_t* str, wchar_t ch ); Finds the last occurrence of the wide character ch in the wide string pointed to by str. Parameters str - pointer to the null-terminated wide string to be analyzed ch - wide character to search for Return value Pointer to the found character in str, or NULL if no such character is found. Example See als

std::wcsncat

Defined in header <cwchar> wchar_t *wcsncat( wchar_t *dest, const wchar_t *src, std::size_t count ); Appends at most count wide characters from the wide string pointed to by src to the end of the character string pointed to by dest, stopping if the null terminator is copied. The wide character src[0] replaces the null terminator at the end of dest. The null terminator is always appended in the end (so the maximum number of wide characters the function may write is count+1).

std::wcsncmp

Defined in header <cwchar> int wcsncmp( const wchar_t* lhs, const wchar_t* rhs, std::size_t count ); Compares at most count wide characters of two null-terminated wide strings. The comparison is done lexicographically. The sign of the result is the sign of the difference between the values of the first pair of wide characters that differ in the strings being compared. The behavior is undefined if lhs or rhs are not pointers to null-terminated strings. Parameters lhs, rh

std::wcslen

Defined in header <cwchar> std::size_t wcslen( const wchar_t* str ); Returns the length of a wide string, that is the number of non-null wide characters that precede the terminating null wide character. The behavior is undefined if there is no null character in the wide character array pointed to by str. Parameters str - pointer to the null-terminated wide string to be examined Return value The length of the null-terminated wide string str. Example #inclu

std::wcsftime

Defined in header <cwchar> std::size_t wcsftime( wchar_t* str, std::size_t count, const wchar_t* format, const std::tm* time ); Converts the date and time information from a given calendar time time to a null-terminated wide character string str according to format string format. Up to count bytes are written. Parameters str - pointer to the first element of the wchar_t array for output count - maximum number of wide characters to write format - pointer

std::wcspbrk

Defined in header <cwchar> const wchar_t* wcspbrk( const wchar_t* dest, const wchar_t* str ); wchar_t* wcspbrk( wchar_t* dest, const wchar_t* str ); Finds the first character in wide string pointed to by dest, that is also in wide string pointed to by str. 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 Po

std::wcsncpy

Defined in header <cwchar> wchar_t *wcsncpy( wchar_t *dest, const wchar_t *src, std::size_t count ); Copies at most count characters of the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest. If count is reached before the entire string src was copied, the resulting wide character array is not null-terminated. If, after copying the terminating null wide character from src, count is not reached, additional

std::wcscmp

Defined in header <cwchar> int wcscmp( const wchar_t* lhs, const wchar_t* rhs ); Compares two null-terminated wide strings lexicographically. The sign of the result is the sign of the difference between the values of the first pair of wide characters that differ in the strings being compared. The behavior is undefined if lhs or rhs are not pointers to null-terminated wide strings. Parameters lhs, rhs - pointers to the null-terminated wide strings to compare Ret

std::wcschr

Defined in header <cwchar> const wchar_t* wcschr( const wchar_t* str, wchar_t ch ); wchar_t* wcschr( wchar_t* str, wchar_t ch ); Finds the first occurrence of the wide character ch in the wide string pointed to by str. Parameters str - pointer to the null-terminated wide string to be analyzed ch - wide character to search for Return value Pointer to the found character in str, or NULL if no such character is found. Example #include

std::wcscpy

Defined in header <cwchar> wchar_t *wcscpy( wchar_t *dest, const wchar_t *src ); Copies the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest. If the strings overlap, the behavior is undefined. Parameters dest - pointer to the wide character array to copy to src - pointer to the null-terminated wide string to copy from Return value dest. Example #include <iostream> #include