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: Burn program to disc

Burn program to disc

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

More Questions

This proceedure is used to make way for a pipe ...

Suzy Asked: This proceedure is used to make way for a pipe ... This procedure is used to make way for a pipe where digger is not an option. Do you know what it is called ? Using high water pressure through a pipe to make way for another pipe that is taped to it underground. The procedure ...

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 ...

Web design

Web design is a similar process of creation, with the intention of presenting the content on electronic web pages