有关控制台属性的信息 [英] Information regarding Console Properties
本文介绍了有关控制台属性的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道是否有一个可用的类,使程序员可以读取控制台属性,例如屏幕大小缓冲区"和"Windows大小".
为了进一步说明,我正在使用标准模板库构建一个c ++控制台应用程序,该模板需要了解控制台属性以特定方式排列文本.
感谢您的宝贵时间!
robNO.
Hi,
I am wondering if there is a class available which allows the programmer to read console properties such as Screen Size Buffer and Windows Size.
For further clarification, I am building a c++ console application using the standard template library that needs to know console properties to arrange text in a specific way.
Thanks for your time!!!
robNO.
推荐答案
我不知道是否有一个此类,但是概念很简单.
有大量用于获取(和设置)控制台信息的功能.
在 MSDN [
I don''t know if there is a class for this, but the concept is pretty simple.
There is a whole load of functions for getting (and setting) the console info.
Take a look at them on MSDN[^].
这篇关于有关控制台属性的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文