c⼀c++ 缓冲区

2026-05-19 07:55:39
推荐回答(2个)
回答1:

int fflush(FILE *FP);
//函数接受一个文件指针。

//刷新输入缓冲区
fflush(stdin);

//刷新输出缓冲区
fflush(stdout);

回答2:

关注一下。