LINUX中清空输入缓冲区最简便的方法!

来源:互联网 发布:北京国税开票软件 编辑:程序博客网 时间:2024/05/01 02:36
#include <stdio_ext.h>

__fpurge(stdin);
原创粉丝点击