Installing dos.h in Ubuntu [duplicate]

While graphics.h offers user-friendly graphical functions, it is no longer recommended or supported. Additionally, open-source C++ compilers typically do not provide support for conio.h, which is primarily utilized in Borland compilers. As a solution, it is worth noting that graphics.h is an outdated Borland C++ header file for graphics in the Ms DOS operating system.


Upon compiling a C program, I encountered the following message.

A fatal error occurred due to the absence of the file or directory specified by
compilation terminated

I am currently using Ubuntu 16.04


Based on the indication, it seems that “dos.h” is exclusive to MS-DOS, which is why I think you are unable to perform that action.

Frequently Asked Questions

Posted in Uncategorized