April 2, 2024
Environmental setup to run c Program’s.
TechTechInfo.com » Environmental setup to run c Program’s.

Environmental setup to run c Program’s.

IF you want to setup your environment for c programming language, you need the text editor and compolier here we will use the turbo c. it will provide you both texteditor and compiler.

Click here to download the turbo c++.

How to install Turbo C++

welcome screen of turbo c++
welcome screen of turbo c++

Step1. click here to Download C++
Step2. If you have previous version of turbo C++ then you have to uninstall that version first.
Step3. Extract the downloaded zip.
Step4. Run setup.exe file
Step5. Follow the setup instruction

How to use Turbo C++

Click on New project to create a new project or click on Start Turbo C++
Past this below cde in the DOSbox

#include <stdio.h>
Int main(){
 printf(“Hello World”);
}

Save the file with .c extension


After saving the file press the Alt+f9 to compile the code


After compiling press clt+f9
To run the program

Your program run successfully;

But if you did not seen your result screen you can hold that screen by adding this function getch();

#include <stdio.h>
Int main(){
 printf(“Hello World”);
getch();
}

Here are the short cut command for DOSbox

S.NO.SHORTCUTS KEYSACTION
1F1For Help
2.F2Save
3.F3Open
4.F4Go to cursor
5.F5Zoom
6.F6Next
7.F7Trace into
8.F8Step over
9.F9Make
10.F10Menu
11.Alt+XQuit
12.Alt+BkspUndo
13.Shift+Alt+BkspRedo
14.Shift+DelCut
15.Ctrl+InsCopy
16.Shift+InsPaste
17.Ctrl+DelClear
18.Ctrl+LSearch again
19.Alt+F7Previous error
20.Alt+F8Next error
21.Ctrl+F9 ‘or’ Alt+R+EnterRun
22.Ctrl+F2Program reset
23.Alt+F9Compile
24.Alt+F4Inspect
25.Ctrl+F4Evaluate/Modify
26.Ctrl+F3Call stack
27.Ctrl+F8Toggle breakpoint
28.Ctrl+F5Size/Move
29.Alt+F3Close
30.Alt+F5User screen
31.Alt+0List all
32.Shift+F1Index
33.Ctrl+F1Topic search
34.Alt+F1Previous topic
35.Ctrl+F7Add watch
36.Alt+EnterToggle screen mode(Full Screen / Window)*

 

Join the discussion

Translate »