Ignoring things
hello,
I have a little question. Whenever I try to use getline(), it doesnt allow the user to input anything, but when I put cin.ignore before the getline(), then it allows the user to enter in some information. why is this? its probably a dumb question, but I always wonder why I have to put it in.
thanks for any help [lol]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement