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