Search:
Forum
Beginners
Backline?
Backline?
Jun 13, 2010 at 6:10am UTC
felixdacat
(7)
Is there any functions or escape sequence to go back from the previous line in the console screen?
Jun 13, 2010 at 6:14am UTC
firedraco
(6243)
Nope. You'd have to use a library or system specific functions for that.
Jun 13, 2010 at 6:19am UTC
felixdacat
(7)
May I know what libraries have it?
System functions are blocked by the administrator at school so I can't really use them.
Jun 13, 2010 at 6:28am UTC
helios
(17574)
System functions are blocked
That's impossible. Otherwise, nothing would work.
If you want to use a library, you can Google PDcurses or ncurses, but if you don't care about portability and are just trying to do something simple, like putting characters on the screen, system calls are usually a quicker solution.
Jun 13, 2010 at 6:56am UTC
felixdacat
(7)
I mean functions like system("cls") wouldn't work.
Jun 13, 2010 at 7:12am UTC
helios
(17574)
That's not what a system call is.
http://en.wikipedia.org/wiki/System_call
Example of system calls include Windows' CreateFile() and UNIX's fork().
Jun 13, 2010 at 7:32am UTC
felixdacat
(7)
Well, I don't know about those things.
Logically, I just called it a system functions because it's a function and the function name is system.
I just need solution that will not use things like system("cls") or any system(/*blabla*/).
I'll try to mess up with ncurses as you recommended.
Jun 13, 2010 at 8:32am UTC
Jesus Estevez Caparros
(6)
you must use gotoxy ( column , renglón ) ;
Jun 13, 2010 at 12:07pm UTC
Duthomhas
(13206)
Windows
http://www.cplusplus.com/forum/beginner/4234/#msg18563
Linux
http://www.cplusplus.com/forum/general/23269/#msg121845
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs