Форум » C/C++ для начинающих (C/C++ for beginners) » How can i use entire unicode characters » Ответить

How can i use entire unicode characters

ramees: How can i use entire unicode characters .Unicode allows for 17 planes, each of 65,536 possible characters (or 'code points'). This gives a total of 1,114,112 possible characters. In a early thread you showed how to increment strings in that function assci characters is used I like to use unicode characters instead.

Ответов - 1

Сыроежка: You can use wide characters and strings. For example [pre2] #include <iostream> #include <string> int main() { std::wstring s( L"Hello World" ); std::wcout << s << std::endl; } [/pre2]



полная версия страницы