how do i print out a Unicode check mark in console...I can print one out in linux using the line cout <<"\033[32m\xE2\x9C\x93\033[0m<<endl; but it wont work on windows console...
A unicode checkmark would look like an ascii checkmark. And I don't even know what a check mark looks like. I see a 33 in your code. Decimal 33 is an exclamation mark. But this'll print to console a unicode upper case 'A'...
1 2 3 4 5 6 7 8 9
#include <stdio.h>
int main()
{
wprintf(L"%c\n",65);
getchar();
return 0;
}
There are piles of (couple dozen) console specific Windows Api Functions. One of them is used to set the color. I need to look it up. Be back in a minute....
That Code Project is VERY helpful to me. Using C++ standard overloading to make the Win32 manipulation as seamless as possible. Thank you so much for posting the link.
I had been using another method, http://www.cplusplus.com/articles/Eyhv0pDG/. What you linked is IMO better.