I'm using class and object and my data in "realestate.txt".I want to display my list but the output cannot display after the data that contain whitespace. I used getline before, but this method become worst because output totally will not come out. Second, I used skipws or noskipws but both still not work. Someone know how to solve this problem?
You haven't shown us what u and node look like, nor what your data file looks like,.
PLEASE USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.