cwchar
bool result = wcscmp(str1, str2) == 0; // Compare two wide character stringswchar_t wstr[100];
wcscat(wstr, L"Hello");
wcscat(wstr, L" World"); // Concatenate two wide character stringswchar_t wstr[100];
wcscpy(wstr, L"Hello World"); // Copy a wide character stringsize_t length = wcslen(wstr); // Get the length of a wide character stringchar *mbstr = new char[length * 2 + 1];
wcstombs(mbstr, wstr, length); // Convert a wide character string to a multibyte stringwchar_t *wstr = new wchar_t[length + 1];
mbstowcs(wstr, mbstr, length); // Convert a multibyte string to a wide character string