How can I open c++ program using DOS?

Asked By 0 points N/A Posted on -
qa-featured

Hi Bro,

How can I open C++ program using DOS?

Can you show me the procedures regarding this?

Thanks.

SHARE
Best Answer by Sharath Reddy
Answered By 15 points N/A #102288

How can I open c++ program using DOS?

qa-featured

That is very easy process to open C++ by using DOS. You can open C++ in DOS mode in an easy way.

Here following the tutorial for open C++ in DOS mode:

At First you should find where you already installed C++ software. Example, if you installed TC in your D drive then you will find TC resources there.

Now you should open start menu which is located at the bottom corner of your monitor.

Then select run menu for run a command. You will get a text field where you should write cmd and then press enter or select Ok

Then write the directory where you already installed your TC software and then select ok


Thanks.

Best Answer
Best Answer
Answered By 590495 points N/A #102290

How can I open c++ program using DOS?

qa-featured

Running C++ or Turbo C in DOS is pretty much simple. You simply type “tc” or “tc.exe” [without double quotes] and then press Enter under the Run section of the Start menu to run the program.

A command prompt window usually pops up on the desktop after doing this that contains the running program. Just hit CTRL + ENTER on your keyboard to maximize the command prompt window. But if your operating system seems hard to run DOS-based programs like this one, there is still another way of running it on your present environment.

You can install DOSBox so you can use C or Turbo C on your computer. Besides running C or Turbo C in DOSBox, you can use it to run all kinds of DOS-based programs and this includes games. DOSBox is a DOS-emulator that can be installed on various operating systems like Microsoft Windows, Mac OS X, Gentoo Linux, BeOS, Solaris, Fedora, Debian, and more.

It uses the SDL-library to dock it easily on different operating systems. It can emulate 286 or 386 CPUs either real or protected mode; Hercules, Tandy, VGA, CGA, VESA, EGA graphics card; as well as SoundBlaster and Gravis Ultra sound card. You can download the latest version DOSBox 0.74.

Just check the manual that comes in the installation to learn how to use it.

The programs that C or C++ runs are all basic text files. The codes that it runs or the codes that are created in C++ or C are all constructed in simple text files. If you want to create a program, simply open notepad or any text editor application you have, construct your code then save it with a “.c” extension name. After this open C or Turbo C, load your newly created “.c” file then run it.

Answered By 0 points N/A #102292

How can I open c++ program using DOS?

qa-featured

Great content guys, thanks. Gideon Yasti, your explanation was good and Sharath, while I was reading your comment, my attention was drawn to see your awesome and simple enlightenment, what an easy way, simply typing “Tc” or “tc.exe” after pressing Enter, then pushing Run to run the program. I have clicked start menu that’s all, which makes me at last successful. Now my heart leaps up with joy that its just a simple process, but before it was hanging heavy upon me. As usual, your other information was also new to me with tips which helped me to enrich my knowledge in knowing a lot of techniques to make my work done faster. +1 for great post Sharath as well as bravery!

Related Questions