fork download
  1. while (mystream)
  2. readline(mystream);
  3.  
  4. void readline(ifstream &inFile)
  5. {
  6. getline...
  7. do other things
  8. cout << inFile.good() << inFile.eof() << endl;
  9. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty