istringstream problem
while((next_token = (char)e.peek()) != EOF)
e is an object of istringstream
I don't know why a white space always fail the condition.
If it is returning EOF, it could mean there is an error. Try checking the error bits of the stream.
Topic archived. No new replies allowed.