#include int main() { char str[2000]; fstream file_op("c:\\test_file.txt",ios::in); while(file_op >> str) cout << str ; file_op.close(); return 0; }