I encountered a situation where istream::getline() hangs, and does not return.
Why would this be?
filestreamInObject is an object of ifstream.Code:bool CfileOperations::readLine(char buffer[], streamsize bufferSize) { filestreamInObject.getline(buffer, bufferSize); if (filestreamInObject.good()) { //no error flags set return true; } else { return false; } }