如何将clrscr函数添加到开发人员 [英] how to add clrscr function to dev c

查看:51
本文介绍了如何将clrscr函数添加到开发人员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

还是有任何其他功能

解决方案

您可以使用 system(clear); on linux system(cls); on Windows (在任何情况下,您必须包含 stdlib.h 才能使用系统调用)。

or is there any other funtion for it

解决方案

You may use system("clear"); on linux, system("cls"); on Windows (in any case, you have to include stdlib.h in order to use the system call).


这篇关于如何将clrscr函数添加到开发人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆