//this shows that the older version of mingw32 can be better than the newer one #include #include #include main() { //the string should be written two times if the file exists ifstream xyz; char chr; xyz.open("a.bat"); while(xyz.get(chr)) cout<