BEST TUTORIAL FOR PROGRAMMING        
BEST TUTORIAL FOR PROGRAMMING

C Hello World

Program With Turbo C IDE

Here, we will learn that how to write, compile, and run C Hello World program with Turbo C IDE. Turbo C is a popular compiler for C programming.




Hello World C program

Now, we will see that how to write C hello world program with turbo C IDE. We can use turbo C for C programming very easily and turbo C makes creating C programs and applications simple for us.


Following steps, We need to follow for creating hello world C program with Turbo C IDE :

1 Open Turbo C : Go to Computer's C: drive and then go to inside the TC folder and then go to inside BIN folder and here find "TC.exe" and double clicks on it to open. (Location of TC.exe file will depend on, where you have installed Turbo C)


open turbo c
open turbo c

2 Turbo C IDE : It will open like this.


turboc ide
turboc ide

3 Type or Enter Code : Type or enter source code of program like this.


type or enter source code of program in turbo c ide
type or enter source code of program in turbo c ide

4 Save File : Click on File Menu and select Save option. After that a window will open and on this window type File name with c or cpp extension like filename.c / filename.cpp and then click on OK button.


4 Run Program : Click on Run Menu and select Run option or press CTRL+F9.


run c program in turbo c ide
run c program in turbo c ide

Once you have done with build and run the program. now go to that directory or folder where you saved your C source file. inside this folder, you will get an executable file like hello.exe. You can run this executable file directly clicking double.


5  Congratulations !!, You have been successfully run your Hello World C program in Turbo C IDE.



Info : We will understand this program in coming sections, that why we wrote main, int , getch, printf etc in this program.
Understand Now