Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <locale>
- #include <atlstr.h>
- int main()
- {
- CString str("Hello world!");
- std::wcout.imbue(std::locale("Japanese", std::locale::ctype));
- std::wcout << str.GetString() << std::endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement