Friday, August 22, 2008

C Programming Lecture Tutorials

C Programming

Steps In Learning C Programming

Step 1
Download C Compiler from the following link

Turbo C Compiler Download Link

Watch the First Video.... 
The video below Demonstrates how to download and run your First C Program.
So be Cool... guys

Well now get to know certain basics
I am guiding you through certain questions..

Question : What is C ?
Answer : C is a programming Language.As we use a language for communication among our friends and relatives, Similarly We need a language to communicate with the computer.

 Question : Why do we need C Compiler?
Answer :  C Compiler translates the few lines of code written in C into massive lines of binary... Computer itself understands only two words Zero and One(i.e the Binary Language also called Machine level Language).
Its hard to explain everything into Two words code..
Understand the Problem with the below example.
(1)10 = (1)2
(1000)10 = (1111101000)2
(99999.9999)10 = (?)2


Keeping unrelevant things aside
All i want to explain is that Machine language(Binary language) is difficult for programmers to work upon, as a simple work might need ample of lines of code.


Whereas C being comparatively easy for the Programmers to work upon..
 C Compiler translates the few lines of code written in C into massive lines of binary...

Big Question Coming into your mind ......     But How ?
This is what would let you all understand the syntax of the Simple C program of printing Hello World Program...

The very first symbol # is the pre processor directive.... that tells the pre processor to have access over the header files having .h extension and placed within <> example oohhhh sorry
well I did the mistake intentionally..prior to the lines following .... it

Actually Compiler prints the line written within inverted commas ("")and the Printf again sorry printf statement where f has its own significance...
Immediate Question coming in all of yours mind Significance?
Well I would provide you with the answer after you watch the Third video.....
First C Program

Second C Program

Third C Program


Fourth C Program

Fifth C Program

Sixth C Program

Seventh C Program

Eight C Program

Nineth C Program

Tenth C Program

Watch the Third Video....
Answer : yes, f stands for formatted text the things written within inverted commas inside printf is not just text but formatted text as most of the words written within "" have their specific meaning and does not simply gets printed .....

lets move to the Third video to explain what it meant 

host's orkut account.