I am trying to read in lines in a text file, and the leading whitespaces are important! However the getline function isn't reading in the leading whitespaces. Is this a normal way for getline to work? And is there a way around this?
Thanks for the help!