gbmtoday
19th February 2010, 17:21
hi everyone !
I searched a lot in net but I couldnt fine any solution for my issue .
i want to read some data from a file
ifstream in ("input.txt");
when encoding of input.txt is ANSI i don't have any problem , but when i change the encoding to Unicode or UTF-8 the complier give me a warning :
Invalid parameter passed to C runtime function.
and the program doesn't run and say :
http://imgur.com/uehC1.png
I have windows 7 home premium .
I dont have this problem in Ubunutu9.10
I need your help !!
thank every one.
I searched a lot in net but I couldnt fine any solution for my issue .
i want to read some data from a file
ifstream in ("input.txt");
when encoding of input.txt is ANSI i don't have any problem , but when i change the encoding to Unicode or UTF-8 the complier give me a warning :
Invalid parameter passed to C runtime function.
and the program doesn't run and say :
http://imgur.com/uehC1.png
I have windows 7 home premium .
I dont have this problem in Ubunutu9.10
I need your help !!
thank every one.