Thread: cin.get and cin.ignore

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    34

    cin.get and cin.ignore

    What's the equivalent of this in C?

  2. #2
    The larch
    Join Date
    May 2006
    Posts
    3,573
    I would assume the answer to both is getchar (or its kind, like fgetc). See the FAQ for more information.
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. cin.ignore and cin.get in C
    By Trafalgar Law in forum C Programming
    Replies: 5
    Last Post: 11-24-2008, 10:34 AM
  2. cin.get(); doesn't work even with cin.ignore();
    By calumn in forum C++ Programming
    Replies: 34
    Last Post: 05-14-2006, 11:12 AM
  3. cin.ignore() & cin.get()
    By dragonlady in forum C++ Programming
    Replies: 11
    Last Post: 08-08-2005, 11:38 PM
  4. Confused about cin.get(); and classes.
    By RaccoonKing in forum C++ Programming
    Replies: 6
    Last Post: 07-17-2005, 11:44 AM
  5. need help with cin.get, or cin.ignore
    By yoyo in forum C++ Programming
    Replies: 5
    Last Post: 09-23-2003, 01:14 AM