Results 1 to 6 of 6

Thread: C programming help?

  1. #1
    Join Date
    May 2009
    Location
    Behind you.
    Beans
    96
    Distro
    Ubuntu 12.04 Precise Pangolin

    C programming help?

    Im having a little problem, im trying to do some C programming to help my cousin, but im missing header files. im using conio.h and programming using geany. when i try to compile it, i get

    fatal error: conio.h: No such file or directory
    my question is... where the hell are they? how do i get the other libraries?

  2. #2
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: C programming help?

    Hi

    conio.h is an old DOS header file.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  3. #3
    Join Date
    May 2009
    Location
    Behind you.
    Beans
    96
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: C programming help?

    Huh.... so how can i use stuff like getch() etc....?

  4. #4
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Smile Re: C programming help?

    Quote Originally Posted by amiacamal View Post
    Im having a little problem, im trying to do some C programming to help my cousin, but im missing header files. im using conio.h and programming using geany. when i try to compile it, i get

    fatal error: conio.h: No such file or directory
    my question is... where the hell are they? how do i get the other libraries?

    in the options of geany at libraries conio.h library will be there . i am sure it will be . but i dont know the exact location , its in my 10.04 and i am in 11.04 thats the problem . but i am sure man select the conio,h from that library list . then it will works ,.
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  5. #5
    Join Date
    May 2009
    Location
    Behind you.
    Beans
    96
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: C programming help?

    Im using 11.04 myself if that helps at all...

  6. #6
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: C programming help?

    Hi

    Here is an implementation of conio for linux if you don't have it. It uses ncurses.

    http://sourceforge.net/projects/linux-conioh/

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •