Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
Introduction [cont'd]
Input Output Functions [cont'd]
Structures and Unions [cont'd]
# Preprocessor [cont'd]
How to Compile and Run? in Introduction of Programming in C
2236 Views
Step 1: Open New 
Open Turbo C editor, If you not installed turbo C [Click here]. Click File -> New
Step 2: Type below program
#include
void main(){
    printf("Hello World!");
}
Step 3: Compile 
Compile and Check errors. Click Compile -> Compile [Alt+9] button. Compiler creates .obj files after debuging errors. Object files are machine codes.
Step 4: Run 
Compile and Check errors. Click Run -> Run [Ctrl+9] button. Run uses .obj file to execute the program.
Step 5: View output Console 
Goto Windows -> User Screen or Press Alt+F5.
Next Topics
Next lessons of current book.
Introduction of Programming in C
Introduction of Programming in C
Best Lessons of "Programming in C"
Top lessons which are viewed more times.
Structures and Unions of Programming in C
Input Output Functions of Programming in C
Structures and Unions of Programming in C
Sub Lessons
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details