hello,
I need a function that set the curser position.
Preferably something platform independant, but if there is no such thing, then i mainly use linux.
any help is appreciated
hello,
I need a function that set the curser position.
Preferably something platform independant, but if there is no such thing, then i mainly use linux.
any help is appreciated
There's no completely platform-independent way to do that, but there's a way to do it that'll be portable to most, if not all modern unix systems as well as others; and that's curses.
Since you're on Linux, try typing "man ncurses" to get an overview of how curses works. As for your specific question, the curses move() function will do what you want, but you have to properly initialize curses first.