I'm trying to compile a program where i am using the libraries studio.h, math.h and conio.h when I try to use the gcc comand it says that conio.h " not such file or directory"

Recommended Answers

All 2 Replies

The conio library is nonstandard and thus not supported by all compilers. If you can remove the parts of conio that you use (such as a leading clrscr() or a trailing getch() in your main() function), that's probably the best approach. Otherwise you'll need to look for alternatives or change your desing.

Thank you I just removed it and it works now :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.