clrscr() & gotoxy() - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

clrscr() & gotoxy()

abdoblabdobl Posts: 21Member
Hi......
what is the library that suppotrs the clrscr() & gotoxy() functions , in linux op,
by the way, my op system is rh 9

Comments

  • jgrjgr Posts: 12Member
    : Hi......
    : what is the library that suppotrs the clrscr() & gotoxy() functions , in linux op,
    : by the way, my op system is rh 9
    :


    Hi.., hmm, you can do it in that way system ("clear");
    or use function clear() from curses.h - man 3 clear, but if you want something similar to gotoxy() , hmm, see that: http://www.apmaths.uwo.ca/~xli/ncurses.html#cursor , maybe help you :)

    jgr
  • inder_vijayinder_vijay Posts: 5Member
    : Hi......
    : what is the library that suppotrs the clrscr() & gotoxy() functions , in linux op,
    : by the way, my op system is rh 9
    :
    Hello,
    For U'r kind info., LINUX considers everything(even devices)
    as files. clrscr() & gotoxy() are console oriented functions found in
    . So it's not possible to include conio.h in UNIX.

    I hope that U can search for some other functions in
    , if possible.

    I used to clear the screen using the system().

    eg., system("clear");

    - bye

Sign In or Register to comment.