What is the function of "cin.get()" and "cin.ignore()".
Anuradha Mandal -28 Junior Poster
Recommended Answers
Jump to PostWhy not look them up?
istream::get
istream::ignoreBasically, they're both input statements, but get() lets you keep the characters extracted from the stream and ignore() doesn't.
All 2 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.