你如何清除C控制台屏幕? [英] How do you clear console screen in C?
本文介绍了你如何清除C控制台屏幕?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有用C清除屏幕控制台应用程序的一个正确的方法是什么?结果
(除了使用:系统(CLS)
)
Is there a "proper" way of clearing a screen in C for a console application?
(Besides using:system("cls")
)
推荐答案
好吧,C不理解画面的概念。因此,任何code将无法移植。也许看看
Well, C doesn't understand the concept of screen. So any code would fail to be portable. Maybe take a look at
便携性是一个问题,无论使用的库。
Portability is an issue, no matter the library used.
这篇关于你如何清除C控制台屏幕?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文