i started programming in qbasic!! - fun!
Well i have just started learning c and wld really like to know if you can specify where something gets printed on the screen.
could really use the help its important piece of course work!!!
i started programming in qbasic!! - fun!
Well i have just started learning c and wld really like to know if you can specify where something gets printed on the screen.
could really use the help its important piece of course work!!!
If you are using UNIX you may find this helpful...
I found this on a web FAQ:
How can I move the cursor around the screen? I want to do full screen editing without using curses.
Seriously, you probably don't want to do this. Curses knows about how to handle all sorts of oddities that different terminal types exhibit; while the termcap/terminfo data will tell you whether any given terminal type possesses any of these oddities, you will probably find that correctly handling all the combinations is a huge job.
However, if you insist on getting your hands dirty (so to speak), look into the termcap functions, particularly tputs(), tparm() and tgoto(). If you are using Unix, type man tputs or man tparm, etc.
here is the site:
http://www.erlenstar.demon.co.uk/unix/faq_4.html
good luck...