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

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
What is difference between object oriented procedure and object oriented programming?
i.basic building block for procedure orientation is functions while for OOPS its objects.. ii.pop follows top-down hierarchy while opps its just opposite. iii.pop lacks encapsualtion and has acesses...
Madhuranjan
What are the toughest topics in C language?
1. pointer 2. dynamic memory allocation 3. File handling
Lokayya
0 0
5

What is the main difference between returning value of a function and does not return any value of a function in  C. Which is correct void main(void), int main(void), int main(int) , or void main(int) and explain the main difference between int main() and int main(void). 

A function may or may not return a value to the calling function. If the function is returning a value, then you have to mention the data type in the function definition and funtion declaration (like int,...
Mahesh Kondawar
What is meaning of C++?
C++ is an advancement of C language.It is the that language which consists the concepts of OOP or lets say OBJECT ORIENTED PROGRAMMING( OOP ).The benefits of C language as it more secure in programming,...
Moinuddin

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

Ask a Question

Related Lessons

Polymorphism and Virtual Functions
Polymorphism and Virtual Functions Compile Time Polymorphism or Early Binding or Static Binding An object is bound to its function call at compile time. Implemented using overloaded functions and...

My first C++ program
# include using namespace std; int main() { cout<<"Welcome to C++"; return 0; } Use IDE such as CodeBlocks to run this program. To do this, open CodeBlocks, Goto File->New->Empty File. Copy...

Data Structure: Searching
Searching Searching means finding an element in an array. There are two type of searching techniques : Linear Search Binary Search In linear search, to find the element array is traversed and...

How do i get best Campus / Off Campus Placement?
Companies are looking for Skilled Freshers. So build your technical skills while doing MCA / BTech / BCA / BSc (IT or CS) into below areas- 1. Strong your programming & debugging skills ...

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

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