When I use " cout " then graphemes like "Š,Č,Ć,Ž,Đ " etc. don't display properly, but when I type them in console as "user" and then "cout" them then they display properly.
I heard this can be fixed by using CharToOem() and OemToChar() but I don't know how.
I think he means he runs the program, and types them into the console. When the text comes in through cin, then prints back to cout it prints properly.
I think he means he runs the program, and types them into the console. When the text comes in through cin, then prints back to cout it prints properly.
Yes, that's right.
And I did manage to solve my problem using AnsiToOem, but I wonder if there is any automated way to incorporate it to IDE or something so I don't need to do it for every sentence.