wint_t towctrans(wint_t wChar, wctype_t qCategory);
#include <iostream> #include <cwctype> int main() { using namespace std; wcout << "Lowercase: " << L'g' << endl; wcout << "Uppercase: " << (wchar_t)towctrans(L'g', wctype("upper")) << endl; return 0; }
© 20072024 XoaX.net LLC. All rights reserved.