我用netbeans写c语言程序,发现没有清屏的函数,不像在windows下 头文件conio.h里,有一个clrscr();
请高手指点一下,什么清屏,
谢谢。
[问题]急,c语言,清屏问题
-
- 帖子: 29
- 注册时间: 2008-06-10 17:20
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- ubuntuprimer
- 帖子: 30
- 注册时间: 2008-07-14 8:14
- 来自: 外太空
- 联系:
对!但毫无移植性可言,只能在linux下运行牙签儿 写了:google了一下,很简单,直接调用系统命令:代码: 全选
int main() { system("clear"); return 0; }
I love only three things:
the sun the moon and you
the sun for day
the moon for night
and you for ever
the sun the moon and you
the sun for day
the moon for night
and you for ever