954,135 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

can we run c++ in dos mode with out windows

12) what are the I/O ranges?funcitons of it? is it useful to a programmer ? if How ?

13) can we use a C++ programme without windows? I mean can we use C++ programme in MS-DOS mode?
Can we run a C++ programme before windows boots?if can how to do it………….I have no idea?

nuwan243
Newbie Poster
15 posts since Dec 2006
Reputation Points: 8
Solved Threads: 0
 

In answer to the majority of the questions you've posted - Standard C++ has no way of directly interfacing with hardware - such tasks are beyond the scope of the standard. You'll need to visit documentation for your compiler/implementation.

Yes you can create programs for virtually any platform - which is the reason why C++ has no built-in support for any kind of hardware.

Instead of just flooding this forum with a long list of questions, why don't you actually make some kind of an effort to find out ?

Bench
Posting Pro
577 posts since Feb 2006
Reputation Points: 307
Solved Threads: 63
 
12) what are the I/O ranges?funcitons of it? is it useful to a programmer ? if How ? 13) can we use a C++ programme without windows? I mean can we use C++ programme in MS-DOS mode? Can we run a C++ programme before windows boots?if can how to do it………….I have no idea?

c++ programs must be run under SOME operating system. You can not run them before an operating system has been booted, unless of course you are writing your own operating system. You could, of couse, install MS-DOS 6.2 operating system on your computer if you want to run true MS-DOS. The console window that you can get with MS-Windows is not true DOS, but an emulated MS-DOS.

Ancient Dragon
Retired & Loving It
Team Colleague
30,040 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,341
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You