y is a vector in class and this code is in one of its class methods.
The problem is the last word of the line is combined with the first of the next line and they have some kind of blank character between them.
I used my read method to get all elements and the letter of the "bugged" element. It also show the value of the char.
Well, I need to get the text in same shape as I loaded it, so how to get positions of the ends of lines?
Why shouldn't I call the open/close on file streams?