Helllooo there,
Today we are going to get set for C
The mother of All Language :D
For C,We need a compiler.you can use any compiler as you wish.totally your choice.I'll use Code Blocks . You can download it from here.
after downloading it,install it.
Now i'll show you how to compile C
you file needs to has the extension ".c" ( dot c )
if you have the output as that one,well you have compiled your first C program and we are ready for next lessons.
If you make any mistakes the error would show up in this box
:)
Today we are going to get set for C
The mother of All Language :D
For C,We need a compiler.you can use any compiler as you wish.totally your choice.I'll use Code Blocks . You can download it from here.
after downloading it,install it.
Now i'll show you how to compile C
you file needs to has the extension ".c" ( dot c )
now on the top left of code blocks there is "file"
click on it,then new>empty file
now type/copy paste the following code :
click on it,then new>empty file
now type/copy paste the following code :
#include <stdio.h>
main ()
{
printf("Hello World");
}
its a simple C code for printing Hello World
then you have to build it
you can choose either build button or build and run button.
then compile it
its a simple C code for printing Hello World
then you have to build it
you can choose either build button or build and run button.
then compile it
if you have the output as that one,well you have compiled your first C program and we are ready for next lessons.
If you make any mistakes the error would show up in this box
:)


