#include <fstream.h> void main() { ifstream OpenFile("cpp-input.txt"); char ch; while(!OpenFile.eof()) { OpenFile.get(ch); cout << ch; } OpenFile.close(); }