Hello,
When I compile my project I had an error "fatal error C1083: Cannot open include file: 'bios.h': No such file or directory.
Can anyone help me?
Hello,
When I compile my project I had an error "fatal error C1083: Cannot open include file: 'bios.h': No such file or directory.
Can anyone help me?
You're probably trying to compile ancient code written for DOS on a Windows XP/Vista machine. Get with the times.
bios.h is not part of the ANSI C++ Language Standard.
When non-standard headers/libraries are used, you need to use the compiler for-which the program was written. In general, you can't just go find a bios.h file (and library) somewhere... If that particular header/library wasn't designed for your compiler, it probably won't work with your compiler. (Most real-world programs do use some non-standard code.)
If you want to know what is standard, one reference is dinkumware.com. All C++ compilers have the standard libraries.
If you want to know what additional non-standard headers are included with your compiler, you'll need to check the documentation for your particular compiler.
And, the compiler has to be designed for your platform (hardware & operating system). So even if you had the correct DOS compiler, the compiler might not run under Windows. And even if it does, the resulting EXE file might not run.