如何将clrscr函数添加到开发人员 [英] how to add clrscr function to dev c
本文介绍了如何将clrscr函数添加到开发人员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
还是有任何其他功能
解决方案
您可以使用system(clear);
onlinux
,system(cls);
onWindows
(在任何情况下,您必须包含stdlib.h
才能使用系统
调用)。
or is there any other funtion for it
解决方案
You may usesystem("clear");
onlinux
,system("cls");
onWindows
(in any case, you have to includestdlib.h
in order to use thesystem
call).
这篇关于如何将clrscr函数添加到开发人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文