UrbanPro

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

how to use dos.h

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

First include dos.h header file then use their function. Before use function, you must have knowledge of dos functions and their charactistics
Comments

dos.h in c: dos.h header file of c language contains functions for handling interrupts, producing sound, date and time functions etc. It is borderland specific and works in turbo c compiler.
Comments

Java Professional with 11+ Yrs of experience

The header file dos.h was created to facilitate calls to System API and the OS, so that programmers could use system calls such as delay (int) or sleep (int) in their programs. But it was written at a time when DOS was the primary and Microsoft's only operating system! Unlike in the late 90s when...
read more
The header file dos.h was created to facilitate calls to System API and the OS, so that programmers could use system calls such as delay (int) or sleep (int) in their programs. But it was written at a time when DOS was the primary and Microsoft's only operating system! Unlike in the late 90s when it served as the shell on top of which early versions of Windows ran. But now, OSs like Windows Vista, 7, 8, 10 etc. are pure 32/64 bit systems and CMD is just an interaction utility that's provided to the user so that they can work on Command Line! Now you've got to realize that when Dev C++ was being developed, DOS was perishing and system calls could only be made on the OS on which the compiler is running, right? And that's when the header file windows.h was written to aid windows users and unix.h for unix users and so on. So, now there are two things you can do: You can copy the header file dos.h from an older compiler like TCC or your Turbo C++'s Lib to the Cygwin library that, I think Dev C++ uses. Although it may not work (compatibility/Security issues that modern compilers have); or Check the online documentation for windows.h and find the equivalent functions, and use them in your program, good luck read less
Comments

use #include preprocessor at top of your program to include this header file into ur program. Thus all functions of this header file will act as part of your program and then to use any of its function you can directly invoke that function instead of writing dos. command repeatedly.
Comments

Computer Programmer

You must work with torbo c++
Comments

Creative Minds Trainer

Dos.h is one among the header files . It contains functions for handling interrupts, producing sound, date and time functions etc. It is a Borland specific and works in turbo c compiler.
Comments

Result oriented teaching professional

DOS.h is a header file used to handle DOS commands (DISK Operating system) in C/C++ programming environment.
Comments

Computer Software Professor

dos.h is used for system related functions like sleep, delay, direcet reading writing fat..... use #include dos.h
Comments

Computer Professional

dos.h is a header file which has functions that cause interrupt to the computer like delay(),time() etc.
Comments

International Corporate Trainer For dotnet Core ,Angular 2 ,C ,C++ and LPT Marathi for RBI Banking

dos.h is used for date, time and system memory related functions
Comments

View 15 more Answers

Related Questions

What is iostream.h?
It is a header file, which is needed to be included in C++ program to perform input output operations.
Monisha
Is C/C++ language is still important in 2019?
Of course, C language is only the heart of any processor or controller.Because of complexity in C peoples are looking to work on High-level languages like JAVA etc.
Tejas
0 0
7
Which are the best books to learn C?
- Yashwant Kanetkar - E Balagurusamy
Kratika
What is the difference between class and structure?
Basic difference between class and structure is that Structures are used to store data and a class defined both data and the functions that access that data.
Aparna
0 0
8
What is Enum
An enumeration is a set of named integer constants. An enumerated type is declared using the enum keyword. C# enumerations are value data type. In other words, enumeration contains its own values and cannot inherit or cannot pass inheritance.
S

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Implicit Typecasting & Explicit Typecasting
In C++ it is possible to cast child class reference variable to parent class Reference. When ever we are Converting a derived-class reference or pointer to a base-class reference or pointer is called...

Definite book guides for C++
This post attempts to collect the few pearls among the dozens of bad C++ books. Unlike many other programming languages, which are often picked up on the go from tutorials found on the internet, only...

Advantages of C++ Language
Advantages of C++ - C++ is a profoundly convenient dialect and is frequently the dialect of decision for multi-gadget, multi-stage application advancement. - C++ is a protest situated programming dialect...

Understanding Computer Science Concepts with Images and Videos..
All Computer science concepts relating to programming and software development are only virtual. It cannot be practically shown as a hardware parts of a computer. But for better understanding it should...

Macro v/s Inline Function
Disadvantages of Macro compared to functions: Works on text substituiton mechanism by the preprocessor unlike normal functions where assembly-language Call and Return are used. Preprocessor macros...

Recommended Articles

Introduction C++ is an excellent programming language and many of the applications are written in C++ language. It has generic, object-oriented & imperative programming features, and also provides facilities for low-level memory manipulation. Successor of C language, it is an OOP (object oriented programming) language...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for C++ Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more