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 tp unistall program 24x7

how tp unistall program 24x7

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

HI, I have very limited coding experience does anyone know good resources

You can check out w3schools which is one of the largest online coding resources on the Internet. They make learning codes easy; plus, they offer certified tests. If you're planning on creating a website, you can also ask help from professional design companies like wearinteractive.com. They have ...

How to Create a Successful Website?

There are a lot of ways to create a website. If can create a website with HTML,CSS, WORDPRESS,PHP. So you have to choose what you want to use. If you are not a web developer than it would be best for you to try a free website. There are a lot of sites providing such offer. I have got my website ...

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.