use conio.h

Hello everybody!

I have written a simple program (in C, compiled with cc.exe -> win...) that uses _gotoxy() and _textcolor() functions and now i am trying to compile it in Linux with gcc but i haven't found conio.h library in the "include" directory...
exist similar functions/libraries or an alternative method??


Thank you very much!


Comments

  • : Hello everybody!
    :
    : I have written a simple program (in C, compiled with cc.exe -> win...) that uses _gotoxy() and _textcolor() functions and now i am trying to compile it in Linux with gcc but i haven't found conio.h library in the "include" directory...
    : exist similar functions/libraries or an alternative method??
    :
    :
    : Thank you very much!

    conio.h isn't ANSI standard so it isn't available on Linux. Please read http://www.bloodshed.net/dev/faq.html for more information.

    X

  • : :
    : :
    : : Thank you very much!
    :
    : conio.h isn't ANSI standard so it isn't available on Linux. Please read http://www.bloodshed.net/dev/faq.html for more information.
    :
    : X
    :

    Thank you for your reply, but exist similar functions/libraries or an alternative method?? I need a function to riposizionare the cursor like _gotoxy(). There is?

    Thank you!
  • :
    : : :
    : : :
    : : : Thank you very much!
    : :
    : : conio.h isn't ANSI standard so it isn't available on Linux. Please read http://www.bloodshed.net/dev/faq.html for more information.
    : :
    : : X
    : :
    :
    : Thank you for your reply, but exist similar functions/libraries or an alternative method?? I need a function to riposizionare the cursor like _gotoxy(). There is?
    :
    : Thank you!
    :

    The library you are looking for is called ncurses
  • or you can check out either

    libconio
    http://sourceforge.net/projects/libconio

    or

    Linux c++ implementation of conio.h
    http://sourceforge.net/projects/linux-conioh

    ------
    nugent



Sign In or Register to comment.

Howdy, Stranger!

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

Categories