What's the equivalent of this in C?
This is a discussion on cin.get and cin.ignore within the C++ Programming forums, part of the General Programming Boards category; What's the equivalent of this in C?...
What's the equivalent of this in C?
I would assume the answer to both is getchar (or its kind, like fgetc). See the FAQ for more information.
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.