|
| ashmew2 (7) | |
| Hi , How do i print things anywhere on the screen ? Suppose i want to bring in the middle of the output screen.And also , how do i clear the screen ? Plus , how do i use Sleep function ? like i want to print "hello" , one character at a time. like "h" then after 0.5 second "e" then 0.5 second then "l" and so on... | |
Last edited on | |
| jsmith (3099) | |
| Use a library such as curses. That will give you all of that functionality. | |
| ashmew2 (7) | |
| Thanks jsmith..You are like my programming idol really..You seem to have an answer to everything :D Keep up the good work! | |
| danyaljj (11) | |
| Hi jsmith and ashmew2! I have same problem... unfortunately i didn't understand the solution. guide please ! thx. | |
| jsmith (3099) | |
| There is a library available for Unix called "curses" that provides text screen manipulation functions such as gotoxy() etc. | |
| Duoas (2964) | |
| NCurses Unix, Linux, POSIX platforms http://www.gnu.org/software/ncurses/ PDCurses Win32, DOS, OS/2, Plan 9, SNES, etc http://pdcurses.sourceforge.net/ NCURSES Programming HOWTO (A guide for getting started with Curses) http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ Hope this helps. | |
This topic is archived - New replies not allowed.
