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

I am interested to enter IT field. But I am not from IT background. My qualification is BBM. I am planing to start with C and C++ course, but i don't have much idea about it. Can some one please let me know what is best course to start with.
if u really have interset in IT filed u better learn .net, core java, spring java, python programming languages than c and c++. but u don't know the basics programming language better going for c and c++ learning course.
Sachin
Is C++ is next version of C?
This feature looks pretty sweet. This would be great because you wouldn't need getters any more. You could make member variables public; later, if you change your mind, you can turn them into property.
Subham
What is the syntex error?
A syntax error is a violation of the syntax, or grammatical rules, of a natural language or a programming language. ... A syntax error is called a fatal compilation error, because the compiler cannot translate...
Pranik
Why c++ introduced reference variable?
C++ references allow you to create a second name for the a variable that you can use to read or modify the original data stored in that variable.
Sunita

How develop the logic of C++?­

 

 

Well there is no logic behind it. You learn by doing things.A Problem is nothing but a real life scenerio , So how will you solve a partiular problem in real life. You can apply that method to solve problem in programming.
Dipali
0 0
7

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

Ask a Question

Related Lessons

How are C And C++ Different Form Each Other
1.C and C++ both have data types operator and conditional looping control statements. But the difference is that C++ has to object-oriented concepts which C programs do not have. Hence C program is like...

Interview Questions
(1) What is the output of below program: For(char i = 0; i<256; i++)Printf(“%d\n”,i); Modify above program so that it can prints number from 0 to 255. (2) Consider on following declaration: (i)...

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...

Do (pre & post)Increment and decrement operators behave differently when printed in the same and different line in C++?
Before I explain anything,I would like you to run the following program. void main() {int j =10; cout<<“j before increment =“<<j; cout<<“++j =“<< ++j; cout<<“...

Programing Languages Learning Tricks
You want to learn that new language or library or framework as soon as possible, right? That’s understandable. Fortunately, there are a handful of tips that can help you to better retain all of that...

Harshal G.

0 0
0

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