Originated From AOL Search
What are the step by step instillations and proceedures to create a C program?
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!
Other people asked questions on similar topics, check out the answers they received:
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