I am working on a C++ console app. I want to execute and print all the stuff at the centre of app window screen (horizontally + vertically) as shown below.
--------------------------------
| |
| |
| User : xyz |
| Pass : **** |
| |
| |
--------------------------------
I want to run my whole program as pointed out above. Is there any way to do so? Any help or suggestion would be appreciated.
iostreams? Is the width of the area completely fixed, or will it be whatever width the user has their terminal?