C

How to run Hello World program in C.

Step 1 :   Download Turbo C++ 3.0 Software

Download Turbo C software from the following link.

->  Download

Step 2 :   Unzip the downloaded software

Unzip the downloaded tc3.zip file

Step 3 :   Install the downloaded software

Double Click on INSTALL.EXE
1

Press ENTER key on your keyboard.

2
Now enter the Drive letter , i did input C drive here .
After then press Enter key on keyboard.

It will show the folder where you unziped your zip file so don’t change it and press Enter key on your keyboard.

4 Now it will show the installation directory where you want to install Turbo C++. You can change your installation directory by pressing Enter key from your keyboard . If you want to install the Turbo C in C:\TC folder just press F9 key from your keyboard.
5I did press F9 key from my keyboard . After that installation process being processed as follow
6
After being processed installation process become completed it will show the message as follow
7 Now press any key it will show you Welcome Screen close it after reading it or close it if you don’t want to read it.

Step 4: Write you C program and Execute

Open the Turbo c++ IDE by double clicking on TC.exe which is in c:\TC\bin folder .

It will open a Turbo c++ IDE window as follow
8
press N or click on New

and write you Hello World program

#include<conio.h>

void main()

{

int i;

for (i=0;i<10;i++)

printf(“Hello World ! \n”);

getch();

}

now save it as Hello.C

you can save it as any name but .c be the extension because it is a c program.

Now compile it by pressing Alt+F9 key

Now execute it by pressing Ctrl+F9

.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s