I am beginning developing in C++ and I am developing a simple calculator in console and when my program ask to the user if wants to exit,the character \'¿\' doesn\'t appear
Assuming you are using simple call to std::cout
, you should be able to print Unicode strings, if you set your command line to Unicode mode:
1. Change code page to UTF-8
You can do this by simply calling the command below in your cmd:
chcp 65001
2. Make sure you are using a font which has the characters you want to display
Lucidia Console should do the trick, as it supports ¿ (and other characters included in WGL4).