How do i display output of whole program in center of console app window?

I am working on a console app. I want to run my whole program's stuff at the middle of screen ( horizontally + vertically ).
Is there any possible way to do this?
Any help would be appreciated.
ncurses
¿why do you care?
Topic archived. No new replies allowed.