Open a editor Write/Type the program Save the program with “.c” extension Compile the program...
-
Upload
barrie-harrell -
Category
Documents
-
view
217 -
download
3
Transcript of Open a editor Write/Type the program Save the program with “.c” extension Compile the program...
![Page 1: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/1.jpg)
www.btechsmartclass.blogspot.com
Step By Step
![Page 2: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/2.jpg)
Main 3 Steps
123
Create Program
Compile Program
Execute Program
![Page 3: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/3.jpg)
www.btechsmartclass.blogspot.com
Steps to Execute a Program Open a editor
Write/Type the program
Save the program with “.c” extension
Compile the program (alt + F9)
Run/Execute the program (ctrl + F9)
Check the Result in User Screen
![Page 4: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/4.jpg)
Opening EditorPress ‘Start’ on the desktop
Select ‘Run’
Type ‘cmd’ and press Enter
Type ‘cd\’ and press Enter
Type ‘cd TC’ and press Enter
Type ‘cd Bin’ and press Enter
Type ‘TC’ and press Enter
![Page 5: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/5.jpg)
Write/Type the Program
Click on ‘File’ in the editor
Select ‘New’
Type the program
![Page 6: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/6.jpg)
Save the ProgramClick on ‘File’ and select ‘Save’
Press ‘F2’
Type file name with ‘.c’ extension
Click on ‘OK’
(OR)
![Page 7: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/7.jpg)
Compile the ProgramClick on ‘Compile’ menu and select ‘Compile’
Press ‘Alt + F9’
Then it shows Total number of ERRORs
If there are any ERRORs then correct the ERRORs and Compile again else go to Next Step
(OR)
![Page 8: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/8.jpg)
Run/Execute the ProgramClick on ‘Run’ menu and select ‘Run’
Press ‘Ctrl + F9’
Then program is executed and output is displayed in User Screen
(OR)
![Page 9: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/9.jpg)
Check the ResultClick on ‘Window’ menu and select ‘User Screen’
Press ‘Alt + F5’
Then output of the program is displayed
(OR)
![Page 10: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/10.jpg)
Compiler ProcessorAbc
Execution Process
Source Code Object Code
Alt + F9 Ctrl + F9
Error List
Alt + F5
This will be in LOOP until ERRORs become ZERO
Sample.c Sample.exe
![Page 11: Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.](https://reader038.fdocuments.in/reader038/viewer/2022110211/56649ef95503460f94c0b25b/html5/thumbnails/11.jpg)
123
Turbo C
Eclipse IDE C/C++
NetBeans IDE
4 Dev C++
CodeLite5