Is there a way to print something in the console that doesn't scroll down? (In C)

Well, maybe if I offer a little context, it will be more understandable.

I want to print “Inventory” in the first line of my main line, but I do not want “Inventory” to move from its place, so while my other commands are displayed on the console and scroll down, this particular line “Inventory will remain in its place”. http://i.stack.imgur.com/hVItr.png

I'm not sure if this can be done in C

+4
source share
1 answer

This is pretty tricky in regular C because of how the console works.

, , , : NCurses: http://www.gnu.org/software/ncurses/

+3

All Articles