Originated From
AOL Search

What are the step by step instillations and proceedures to create a C program?

What are the step by step instillations and proceedures to create a C program?

Liked this question? Tell your friends about it


1. first you need a compiler. you can find a free c compiler on the web. notice that it depends on your operation system.

2. write a program in any text editor.

example program:

#include <stdio.h>
int main()
    printf("Hello world\n");
    return 0;

3. save the program with .c extension. let's assume that it is called hello.c.

4. compile the program. for example, using gcc compiler:

gcc hello.c -o hello

it will create a new executable "hello"

5. run the new executable:


you should get the output on the screen:

Hello world


good luck!

Related Questions

Other people asked questions on similar topics, check out the answers they received:

Asked: 'how many millionairs were created in the 1950 ...

'how many millionairs were created in the 1950's'?

Asked: How to create a personal home page

How to create a personal home page

Asked: How to create new program file path

I bought a new program and it's telling me that I have to create a program path. can some one please tell me how to go about this without haveing to buy another program? thanks

Ask a Question... We'll forward it to people who know

More Questions

What programs should I uninstall from my control

IF you have a program you want to uninstall, and if it is listed in control panel uninstall feature, use that. Otherwise, leave it alone.

Unable to access email past July 2014

Rocmike is now posting under his alias harley s. Another name that goes to his facebook profile page.-----------------Rocmike claims he's dead but judging by the sad lonely pathetic life he has he only wishes he was dead. How can anyone do nothing but post every hour of every day? Yesterday i put ...

Who created marshmallows

Real marshmallow goes back to ancient Egypt and was originally created as a medicinal substance made from a plant. The Egyptians discovered it also made a nice sweet. Modern marshmallows are nothing more than sugar and corn syrup and flavorings and contain no real marshmallow at all.

Still Programis their a still program that helps people to stay home to

Depending on which state you are located, there is a home and community based services program which is under medicaid, but you need to file and application and pass the income eligibility. Unless your mother has long-term care insurance, and her policy covers home care, then you can call the ...