I am having a difficulty with special characters in C ++. I watched some videos about printing special characters on the console, until then okay I can print everything except ã and õ. After several attempts I realized that the same accents do not appear in the cmd nor by associating them with values in the ASCI table or even simply by typing in the CMD. I use windows 8.1, I even tried translating it to pt-br but it still did not work.
In the code I've already added
and call the function
setlocate (LC_ALL, "Portuguese");
Only the console itself does not recognize. In the case only a and 6 do not recognize. All other accentuations (á, é, í, ó, ú, ê, î, ô, û, ç) function normally
The ã at prompt appears as | =