Saturday, January 28, 2017

How to Write your first C code...?

i m glad to see you here , Most of you are beginner in Computer science field ,  you have next to no experience with programming languages but trust me you’ll soon love it. I will make you understand each and every aspect of programming esp ,Are you ready to do some learning ?

fine, before Coding some basic ideas of what programming is ?

Programming is the process of taking an algorithm and encoding it into a notation, a programming language, so that it can be executed by a computer. Although many programming languages and many different types of computers exist, the important first step is the need to have the solution. Without an algorithm there can be no program.

for Algorithm i have different blog(i"ll uploaded soon)

Now , 

first program i.e the my world program , any where in world if an student learn first program in any  programming language , his/her first program is always be "hello world"(?);

So, first download the IDE(stand for integrated Development Environment) which basically the text editor with compiler in it.


first go to the code block this free IDE and also very reliable DONOT USE DevC or TUrbo C++. 


go to the above link or http://www.codeblocks.org/

then download the Code block IDE

After that see the follows the Screenshot :-


 open new project then type

#include <stdio.h>

int main()
{
  printf("hello world ");

  return 0;
}

then save it in your desired location :-


then click build and run option in left upper portion

                       


then new screen  will genrate like that
   

and voila you success...!!! Stay tuned for next instresting blog!!

~happy Coding

No comments:

Post a Comment