Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


cin.get and cin.ignore-C++

  • Please log in to reply
1 reply to this topic

#1 Fsoci3ty


  • Members
  • 1 posts
  • Local time:11:46 PM

Posted 11 July 2017 - 02:56 PM


Can you guys please tell me what the difference is between cin.get and cin.ignore in C++ and  when should i use each one?

Thanks a lot :flowers:

BC AdBot (Login to Remove)


#2 jwoods301


  • Members
  • 1,489 posts
  • Gender:Male
  • Local time:11:16 AM

Posted 11 July 2017 - 03:08 PM

Almost an identical post here from 2009 (with the answer)...



Edited by jwoods301, 11 July 2017 - 03:09 PM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users