[bo][un]J_j[/un] 在 2008-10-6 12:51 的发言:[/bo]
fflush(stdin);这个我也不是很清楚,也不是常用,它到底有什么危害咧?
fflush(stdin);这个我也不是很清楚,也不是常用,它到底有什么危害咧?
int fflush(FILE *stream);
If stream points to an output stream or an update stream in which
the most recent operation was not input, the fflush function causes
any unwritten data for that stream to be delivered to the host environment
to be written to the file; otherwise, the behavior is undefined.
without further ado, let’s get started