Changing interface with c++
| mosdapwn | |||
| I need a few tips for messing around with the default interface in c++ consoles, I know it's kind of lame , but its a requirement. I need to be able to change the default font for the console, and the background color. I need to be able to control my "cout" to the screen, like , add something in the last line , then add something in the middle, and delete stuff from the screen. I also need to be able to do something that responds to the keyboard keys , like arrow keys and stuff. I know this stuff are not suited for consoles , but help me out the way you can , since i am required to use consoles. | |||
| Zaita | |||
| You can do most (if not all) of what you have asked. But please do some research and use google to find examples. It's pretty straight forward :) | |||
| Duoas | |||
| Your best bet is Curses. If you are using *nix, check out NCurses http://www.gnu.org/software/ncurses/ If you are using Windows, check out PDCurses http://pdcurses.sourceforge.net/ Both are relatively compatible; you can write for one and compile on the other. Hope this helps. | |||
Registered users can reply in this forum.
