Notice that it's not even outputting that the length of the last line in test.txt is 0, since it's not even noticing that line. I want to make sure the last blank line is read. (without modifying the file)
#Getline ignoring the last blank line?
12 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
getline stops at EOF
why?
!solved
You can only solve threads you own
!solved
Thank you and let us know if you have any more questions!
[SOLVED] Getline ignoring the last blank line?
@vale ocean
This question thread is being automatically marked as solved.