// test_wfstream.cpp : Defines the entry point for the console application. // #include #include //const wchar_t wsz = Լ"աբգդեզէըթժիլ"; int main(int argc, const char * argv[]) { std::wstring wstr; std::wcin >> wstr; std::wcout << "You typed: " << wstr << std::endl; std::wstring::iterator it = wstr.begin(); for ( ; it != wstr.end(); ++it ) std::wcout << (int)*it << ", "; std::wcout << std::endl; return 0; }