Clear Screen using C++

后端 未结 4 1661
小蘑菇
小蘑菇 2020-12-08 05:27

I would like to clear the CMD screen I have seen a few options first is

system(\'clr\');  

but dont want to use system cause then it makes

4条回答
  •  执念已碎
    2020-12-08 06:29

    Another way would be to use OpenGL, Qt or SDL, which are cross-platform and write a graphical console. This can be seen in many roguelike games, for example Dwarf Fortress.

提交回复
热议问题