干净的屏幕..... [英] clean screen .....
本文介绍了干净的屏幕.....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们该怎么做才能彻底清洁屏幕?
clrscr ---> c
=
? ---> c ++
What can we do to clean screen completely?
clrscr ---> c
=
? ---> c++
推荐答案
不确定您的意思, ^ ]帮助?
Not sure what you mean, does this[^] help?
clrscr()也可以在c ++上运行Windows环境
点击此链接 [
clrscr() would work on c++ too if you are working in a Windows Environment
Follow this link[^]
这取决于.在现代Windows系统中,您无法清除整个屏幕,而只能清除当前的活动窗口.如果当前窗口是命令窗口,则使用cls
命令.如果它是Windows窗口,则可以在OnPaint()
方法中使用适当的代码.
It depends. In a modern Windows system you cannot clear the complete screen, you can only clear your current active window. If your current window is a command window then you use thecls
command. If it is a Windows window then you use the appropriate code in yourOnPaint()
method.
这篇关于干净的屏幕.....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文