I have finished my poker game, but now I want it to look a little better with Spades, Hearts, Diamonds and Clubs. I tried this answer: C ++: ASCII printing of hearts and diamonds with an independent platform
Maybe stupid, but I try:
cout << 'U+2662' << endl;
I don’t know how to write it down.
UTF-8, . fileinfo.com - UTF-8, 0xE2 0x99 0xA5, "\xE2\x99\xA5" .
0xE2 0x99 0xA5
"\xE2\x99\xA5"
, UTF-8, .
ASCII Windows, :
cout << (char) 3 << (char) 4 << (char) 5 << (char) 6 << endl; //hearts, diamonds, clubs, spades
, , . .
std::wcout UTF-16 ( Mark), , Windows ( Vista?), Windows . wcout Visual Studio , , Cygwin, , MinGW . : L"string".
std::wcout
wcout
L"string"
. , , UTF-8 , : ASCII UTF-16 ( wcout) Windows.
Source: https://habr.com/ru/post/1740803/More articles:JTable string sorting in Java 1.5 - javaWeb Services vs. Persistent Sockets - c #How to determine the radius and center of a circle when only three noncollinear points are known? - mathChoosing syntax for type parameter variance in C # and VB - syntaxhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1740802/detect-non-closed-connections-to-sql&usg=ALkJrhjF1PhHS7ZMdBFRskrVQbMQ7gihPAUsing maven-release-plugin for tags and commit for non-origin - gitConnecting Microsoft Jet Oledb with Excel Outperforms Formulas - c #Как определить страницу реферера в ASP.NET? - asp.netThe SPNavigationNode.IsVisible property does not work in sharepoint as expected - c #What should be the development of the "trunk" or release - version-controlAll Articles