how to install headers like conio.h

xox18's Avatar, Join Date: Feb 2010
Newbie Member
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
0
virxen's Avatar, Join Date: Nov 2009
Pro contributor
conio.h is not availiable to all compilers.
which compiler do you use?
0
xox18's Avatar, Join Date: Feb 2010
Newbie Member
it's gcc

i've read some articles saying that, to be able to use clrscr() you need to include conio.h..
0
virxen's Avatar, Join Date: Nov 2009
Pro contributor
what's your operating system?
0
vignesh1988i's Avatar
Banned
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.....
0
omprakashcn's Avatar, Join Date: Feb 2010
Light Poster
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