i need to ignore spaces before lines while reading them from a file...the problem is i don't know how many spaces i could get...file could be like this:
i would rather not do this by first using getline and then getting substrings etc...Code:hello hello hello hello hello hello
can i use ignore effectively here so that when i get the next word from the stream for each line i get hello...
Regards,
Farooq