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

Answers

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:

./hello

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 can I add a group of addresses that are on an ...

How can I add a group of addresses that are on an email I received without copying the names one by one.

Be The First To Answer

Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them

More Questions

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.

Exopolitics- Gary Mc Kennon Secret Space Program

We have one particularly obnoxious and duplicitous leftist troll on AOL Answers, always trying desperately to make wads of money by selling truly ridiculous political hoaxes. Leftists are notorious liars, but that doesn't meran they aren't severely passionate about their lying and biterness. Cults ...

How to create an account

Uninstall all of AOL and download : http://daol.aol.com/software/90vr

Is this video an intent to"instill fear"in Americans?

Do too transparency you can't view anything