Subscribe:

Ads 468x60px

Labels

Thursday, March 22, 2012

C Programming Tutorial Introduction

Before I start my tutorial I will make an introduction to C programming language. First I want to give you some history about C.
The development of C occured at Bell Labs between 1969 and 1973. The first language was called B by Thompson, then at 1971 Ritchie modified the language and gave it a new name : Extended B or ( NB ) which means new B. Finally on 1973 it was given the name C and later on 1989 it was created the first standard ( c89 ) and on 1999 the second standard ( c99 ). These two standards aren't  very different from each other, but anyway we will learn c99 because it is being used more nowadays.

The steps we follow to write a program :
1. Write it in a text editor and it is saved in a .c file and is known as " source code "
2. Compile the source code and we get an object code .obj
3. Linking step where we make it a .exe file ( executable file ) and finally we execute the program!

Please note that the first and second steps are made automatically by the compiler and you won't see them. A compiler is a software which works as text editor, compiler and linker together. There are many free compilers avaible and we suggest that you use one of these : dev c++ or  codeblocks. On my next tutorials I will use dev c++ and you can download it for free here Download

>>Next Tutorial

0 comments:

Post a Comment