Dear my friend the reason of the problem is related to utf8. So you need to convert your .cpp file into ANSI. To do so, firstly right click your .cpp file and open with notepad. Then, file->save as...