[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject



hi -
im doing some beginners C programming on a redhat 7.1.
when including stdio.h and trying to use the "flushall()"
function, the gcc will not compile the code.
im getting error for "no reference to flushall()".
iv`e checked the stdio.h file and theres no flushall() function in it.
the same thing DOES work in windows 2000.
how can i flush the buffer after using "scanf()" or "getchar"
in order to clear it for another "getchar()"   ????
 
Ido Naveh
na_ido@netvision.net.il