what does this do?
-
-Code:while ((ch = getchar()) != '\n' && ch != EOF); //flush stdin
(btw program works great, but i just need to find out how it works)
what does this do?
-
-Code:while ((ch = getchar()) != '\n' && ch != EOF); //flush stdin
(btw program works great, but i just need to find out how it works)
Last edited by rodrigorules; 09-07-2005 at 02:58 PM.