Quote:Original post by Anonymous Poster
combining his name, his location and
using std::cout;
using std::cin;
etc.
and
char text[1000];
I'd say he's kidding...
You do know Bahrain is a real place, right?
In my tests, ^z works just fine. It has to be at the begining of the line, though, or it gets confused.
Enter several lines of text:Enter end-of-file to END input.?Line One?Line Two?^Z
"Line One" and "Line Two" get written to the file, and then the program ends.
CM