Home »
C programs
dos.h header file functions with examples in C language
This section contains library functions of dos.h header file with example programs and output. Each function is described with its definition, syntax and description of the program.
C - <dos.h> header file
In C language, <dos.h> is a header file and it has various built-in functions that are used for handling interrupts related to operating systems, sound related operations, and date and time functions, etc. This header file is Borland specific and works in compilers like Turbo C Compiler.
Including <dos.h> header file in C
To use the functions of <dos.h> header, you need to import first in your source code. The following is the syntax to include this header file in your source code:
#include <dos.h>
List of solved programs of 'dos.h' header file
- delay() and sleep() functions of dos.h in C.
In this article, we are going to learn about the process of terminating functions such as delay() and sleep() of dos.h header file in C.
- getdate() and gettime() functions of dos.h in C.
In this article, we are going to learn about the process of getting the current time and date of our system by using getdate() and gettime() functions of dos.h header file in C.
- sound() and nosound() functions of dos.h in C.
sound() and nosound() functions of dos.h in C: In this article, we are going to learn about the sound in programs and how we can use them with the help of our pre-defined functions of dos header file?