how to install headers like conio.h

Discussion in 'C' started by xox18, Feb 16, 2010.

  1. xox18

    xox18 New Member

    Joined:
    Feb 16, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    programmer trainee
    Location:
    Philippines
    error: conio.h: No such file or directory

    how do i get rid of this problems? i think, i'm lacking some libraries or headers(not sure if what it's called).

    I assume it;s somthing like "sudo aptitude install <somthing>" blah blah..
    can anyone help me
     
  2. virxen

    virxen Active Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    28
    conio.h is not availiable to all compilers.
    which compiler do you use?
     
  3. xox18

    xox18 New Member

    Joined:
    Feb 16, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    programmer trainee
    Location:
    Philippines
    it's gcc

    i've read some articles saying that, to be able to use clrscr() you need to include conio.h..
     
  4. virxen

    virxen Active Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    28
    what's your operating system?
     
  5. vignesh1988i

    vignesh1988i Banned

    Joined:
    Sep 19, 2009
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Chennai
    MAINLY IN GCC , THE FUNCTIONS LIKE CLRSCR() wont work ... because i too had this problem,,,,, use system("cls"); function which will be in stdlib.h.... this function is nothing but functions connecting directly to DOS.....
     
  6. omprakashcn

    omprakashcn New Member

    Joined:
    Feb 16, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    go for opensourse codeblocks...here u will find gcc compiler where u can use clrscr(),conio.h and all...
    compared to other compilers its cool :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice