Structure string is invisible

Why is it that when i use a getline command to input a string for a structure it shows up as nothing? But, when I use a normal cin command, everything is all perfect and displays like it should?
Last edited on
You probably have an extra newline in the input stream. Try adding a std::cin.ignore() statement before the getline.
Will do.
It worked. Thank you very much.
Topic archived. No new replies allowed.