Split view in console

Dear friends:
I want to show different interface in the split view of console window, how to set it.


The only way I know of, would be use a function like 'gotoXY()', which I show how to use here..


Though some users on this site won't like mainly because it uses the conio.h library.
I like it though, and use it in pretty much all my programs.
Last edited on
your gotoXY() doesn't use conio.h, only windows.h.
Only your WaitKey uses _kbhit()) and _getch() from conio.h
It is worth your time to invest in learning NCurses. If you are on Windows, use the PDCurses port.

They are both small, easy-to-install and easy-to-use libraries.

Take a look through the documentation (http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/) for information on getting started.

For each view you'll want to create a separate WINDOW.

Hope this helps.
Thank you . you misunderstand me. I am working in Linux system. The consol windows is the bash shell.
NCurses was created for *nixen. Type 'man ncurses' at the shell prompt.
Topic archived. No new replies allowed.