- #36
FactChecker
Science Advisor
Homework Helper
Gold Member
2023 Award
- 8,531
- 4,052
Perhaps they were trying to block people from using the C string functions that allow all the viruses that go beyond the read buffer length.jtbell said:I don't know why the people who wrote the C++ standard that introduced std::string didn't simply add an overloaded version of the fstream getline() member function that accepts a std::string.