3.8.10

INTRODUCTION TO LEADER OF MODERN PROGRAMMING LANGUAGE- 'C'



(This introductory tutorial cum article about a programming language is aimed towards to set a stage in the mind of new students, follower of computer software development process. Here you will get to know about what 'C' is, and how it can be useful for our career, or how it will contribute in our study/practice of art of programming.)


Introduction
----------------

'C'..sounds strange a bit, at first encounter for everyone, specially for Computer science students or similar group. It is neither a acronym or nor nick name to any standard thing, however, it is improvement over previous languages like BCPL and B.
Well buddies, I would like to assure you that it is not anything alien's stuff.. it is a human artifact constitute to simplified the job of developing softwares, which we are using or developing in general.

It was developed by great computer scientist mr.
Dennis M. Ritchie in 1971 at 'AT & T Bell Labs,USA.' 'C' is a sole product of mr. Ritchie, in due course to develop an operating system named as 'UNIX' which later become popular among user due to its feature, bundled for first time in any operating system.

Let's talk about software in a nut shell- there is big array of Software scattered around us,
for example most prominent software is our Microsoft Windows 7 operating system software or its family, more specifically its ancestors like MS windows 98, 2000, xp, vista or other softwares like music player, chat client, set top box (DTH TV service) etc.


Why Should Learn 'C'
-------------------------

Well buddies, there are a number of reason that can explore this point.. but most common reason that you can see and realize are as follows:

[] It is very easy language to learn, ....huh..it s not such easy..okay wait for some moments....cuz it is my turn to speak for this moment :) (i will explain it shortly why it is called easy...thanks for your consent!
[] It is helpful to develop logic of problem solving for programming or you can say to develop programming mind of one who wants to be software programmer/developer, web developer, database developer/administrator/manager, network programmer, games etc.

[] It provide good platform to learn newer concepts (Objects, Classes, Abstraction, Inheritance, Polymorphism etc.) wrapped up in newer language like C++/Java/C# etc.
[] One can develop essential softwares like Operating system, compilers, interpreter, commercial software etc. can write communication network application like software part of drivers, card etc.
[] Due to its low level features it is faster in execution, hence can be used to write drivers software.

[] It provide efficient memory management.
Why It is Easy to learn
----------------------------
Now, lets talk about why it is called easy to learn language while it has so many strange things.
.. so don't worry just read on.
[] It has concepts which are really easy to grasp because it uses Structure programming paradigm. that is a program is viewed in this way
-> Sequence
-> Decision making
-> Iteration or loop (repetitive task)
[] Just develop a road map of your problem to be solve in computer's environment. for instance if you want to print the roll number and name of students of your class.
-> Firstly you will make a table in which you will have 2 columns captioned as Rollno and Name.
-> You will ask the name of Student and his roll number.
-> Now will write his /her data into table
-> that is it.
The same job you have to do in your program with the provided programming language construct.
[] what you will do emulate same procedure in 'C'.
-> ask or prompt with printf() enter your name and rollno.
-> than scan or write in to table with the help of scanf() , this function will write data in to main memory only, but when you invoke with printf() the data will be displayed on computer screen as output.
[] Once, and just once the concept- how to use programming construct like, expressions, statements, operators, loops, array, structures, pointers, memory management, file handling etc., you grasp here will continuously help you for ever on each step of your career be it as software developer or be it web developer or be it any other kind of developer for computer and its related activity.
because.... each language same things or tools to develop programs with a little modification or slight changes in syntax to use them, however, Java is such programming language which doesn't use pointer and other concept of C to develop softwares.
____________________________________________________________________
* I hope, Now you can answer of your General queries, arose at first sight upon programming.
* In next blog we will take an over view on C++ and Java and after than we would start to learn the programming construct of each language.
* Well, my dear friends this blog-cum-article will be incomplete, if it still not able to remove your doubts over use programming language, if it is the case than please leave your Questions as comments, I ll do my best to solve them.
____________________________________________________________________

2 comments:

  1. I would like to have some interesting sample programs also, if you don't mind.

    ReplyDelete
  2. @krishna: I have updated my post "Road to C surf" with one sample example hope it will help you to solve your problems, to little extent.

    ReplyDelete

Search This Blog

Let make your friend aware about this post