Running under Windows, is there a way to center the output of a c-program on the display, by means of code in the application, like e.g. it can be done, from within a C# application?
Printable View
Running under Windows, is there a way to center the output of a c-program on the display, by means of code in the application, like e.g. it can be done, from within a C# application?
Console or Window Client Area?
For Console, check for Win32 Console API: here
The output of a c program on a Windows display is rectangular in form, and is positioned randomly; I would like to center the output on the display.
The reference you have given me is very interesting and contains much useful information, for which many thanks. However I see no code that answers my query.