在C为Linux的getchar和clrscr()的subsititue [英] subsititue of getchar and clrscr() in c for linux
本文介绍了在C为Linux的getchar和clrscr()的subsititue的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我这阵子工作在Ubuntu。当我使用gcc编译我的C程序中,它被赋予误差 CONIO.H
不存在。
我想用 clrscr()
和残培()
功能。
你能告诉我在linux这个头文件的替代品。
I am working on Ubuntu these days. When I compiled my C program using gcc, it is giving the error conio.h
doesn't exists.
I want to use clrscr()
and getch()
function.
Can you please tell me the substitute of this header file in linux.
推荐答案
系统(清);
可用于的Linux 而不是 clrscr()的;
这篇关于在C为Linux的getchar和clrscr()的subsititue的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文