Hi, I wrote a simple program based on the file io tutorial. It 's supposed to echo a file but unfortunatel it dosent seam to hit the EOF?
Any help is appreciated.Code:int main(void){ ifstream in("my_file"); char input; in.get(input); while(input != EOF){ cout << input; in.get(input); } in.close(); return 1; }