What is the equivalent of cin.ignore and cin.get in C
btw could someone give me a link where I can study other C functions like TextColor(), Delay() and more.
What is the equivalent of cin.ignore and cin.get in C
btw could someone give me a link where I can study other C functions like TextColor(), Delay() and more.
Last edited by Trafalgar Law; 09-18-2008 at 05:01 AM.
cin.get() in C is either getchar() or fgets( str, size, stdin )
TextColor() & Delay() are not standard C functions.
Here's a list of standard C & C++ functions: http://www.cppreference.com/
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010
Why would you use cin.ignore over system ( "Pause" ); I'm jjw because i use system ( "Pause" ); and just found out about cin.ignore is one better then these other or are they the samethings just different way of doing it?
c++ calls. Please review
http://minich.com/education/wyo/cplu...etfunction.htm
Oh, what the equivalent...my bad. I read too quick.
it's kool thanks for the read it's help me out i knew about all the cin. but not in detail