Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.