Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

1 solution

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[^].
 
Share this answer
 
Comments
Espen Harlinn 6-Feb-11 7:25am    
The documentation is always a good place to start :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900