does line.length(); include end line chars?
For example
Hello World
How long would this be 11 or 12?
std::string s1 = "Hello World\n"; std::cout << s1.length() << std::endl;
This prints 12. The new line is included in the length.