My program is NOT accepting symbols such as "à" considering some city names in the world have these as characters. I'm using C++. I've tried all sort of streams of input such as getline(cin,string), fgets and such. All these forms in gathering input see the special symbols at "...".
This is a windows console application made in visual studio 2015
for example
string funnyChar = "à";
getline(cin, checkFunny);
if (checkFunny.compare(funnyChar) == 0)
//do things
user inputs àero
ALT+0224ero
or user input àero as
ALT+133ero
within the code, the input stream cannot see the alt code inputed as it is, therefor, within my if statement
if(checkFunny.compare(funnyChar)==0)
will never work.
More or less, I need to be able to take in these (any) special characters so I can save them, and then display them later, but also, NOT accept very specific ones such as † (alt+0134)