Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Monday, February 7, 2011

C Programming - Part 4

Working with C Operators 

There are some basic but important things that every learner of C should know . 
These are--             
• Add plenty of comments using  (/*     */    or     // )
• Good layout,
  it should be not like this :
      main( ) {printf("Hello World\n");}
• Use meaningful variable names
• Initialize your variables
• Use parentheses to avoid confusion as:
      a=(10.0 + 2.0) * (5.0 - 6.0) / 2.0

Saturday, February 5, 2011

C Programming - Part 2

In addition to surender's Last article, I would like to elaborate more on the C Language. Most of the operating systems, which you might have been using in your desktop, servers, mobile phone, mobile TV, portable MP3 players etc. are running the C code.  "Kernel" the integral part of the operating system,  and it is designed and developed using C programming algorithms. If a person is well versed in C, he/she can do any thing in computer science.

I really appreciate Surender's initiative to teach C Language through this blog. If any of his "student" have any doubt then please don't hesitate putting up your questions.

Wishing you all a very successful C Programming.

Friday, February 4, 2011

C Programming - 1

Part 1"C is Basic language for learning if you know the C language then you can learn any language but professional C is not in 10 programs . add, mul div, fact programs . C means logical programming or conceptual language .That means you should have clear concept of C i.e. deep knowledge then you will be able to adjust C and in turn any language ,very easily .Also you have to learn the programming concept of C but that does not mean just 10 programs .So we will try to learn more than   
so called 10 programs. But before Starting the C language we will check out intro that what is C ? Who has developed the C language ? Who created this ? How it is with us  ?"



The programming language C was originally developed by Dennis Ritchie of Bell Laboratories and was designed to run on a PDP-11 with a UNIX operating system.
Although it was originally intended to run under UNIX, there has been a great interest in running it under the MS-DOS operating system on the IBM PC and compatibles. It is an excellent language for this environment because of the simplicity of expression, the compactness of the code, and the wide range of applicability. Also, due to the simplicity and ease of writing a C compiler, it is usually the first high level language available on any new computer, including microcomputers, minicomputers, and mainframes.
C is not the best beginning language because it is somewhat cryptic in nature. It allows the programmer a wide range of operations from high level down to a very low level, approaching the level of assembly language. There seems to be no limit to the flexibility available. One experienced C programmer made the statement, "You can program anything in C", and the statement is well supported by my own experience with the language. Along with the resulting freedom however, you take on a great deal of responsibility because it is very easy to write a program that destroys itself due to the silly little errors that a good Pascal compiler will flag and call a fatal error. In C, you are very much on your own as you will soon find.

Wait for next article on starting programming concept with good skills in deep.This is just the intro part of C.

Thanks
Er.Surender Sharma
linux Kernel Developer

Wednesday, February 2, 2011

Welcome to the world of Linux

Hello friends ,

We have started this knowledge sharing blog of learning the core field i.e. "C" and Linux Kernel ,so we want to share our experience and our problems and solutions and our guidance with all .Those who are keen of sharing  knowledge and experience ,they can come to this core field world .It is very interesting field and you will enjoy a lot .

Also , we are also supporting to "Indian IT Technology".We are trying to divert Indian talent into this core field, as a Science Subject. Because in today's scenario every body is going through the built in tools like .Net packages , already built in Java libraries . Do you think that there are engineers who created the Java libraries and .Net type packages and other graphical tools .Then what we are doing ? We are just using their made tools and and we boast ourselves as engineers.

"An Engineer creates the engine . He/She never becomes the Driver of that engine. So don't become the Engineer like a Driver, Become the Engineer like an engine maker ".

You should have guts to invent the engine so that world can use it. Look around and you will find that every engineer is using the US based product and says themselves as software engineer,this is not the engineering,is this ?

In Japan ,China,US and Germany children of age bar between 12-15 years create the games after using these tools. They are just children and we are Engineers . There is no difference between those Children and our Engineers.

So ,get up and become a good Engineer and give your Hands to develop the Indian IT and that will become the real IT.Do not be dependent on USA . If we will not change ourselves then USA will sneeze and we the Indians will get swine flu.

"India has not developed its Operating System and tool in-spite of such huge population and we are dreaming that India is the No.1 in IT field. How can you say this ?
Till now India haven't its " National Identity Card Software " . And we are No.-1 in IT ,what a joke ." 

Questions:-

Why we can not be able to develop our own Toolchain , Operating System and our own Hardwares ?

The reasons are :-
1) Our students and youngsters are not taking interest in Science of Computer .
2) They just want to earn money immediately ,only money .
3) They want to use the already built in tools and want to learn just graphical creative tools.
For a minute sit back and think how this tools are created.

Try to become the real Engineers. 

Hence,share your knowledge with us.
This article is just for motivating you all and not for humiliating because we always think about our country.That's why we started a movement only in a hope that technologies will be invented in India .
We require your help to make our dream successful.
Hence come and join this Linux Hub and Open Source world because you will be free to do what you want to do ?

You are most welcome to share the knowledge ,start discussion ask questions and even you can answer some questions.

Once again welcome to the world of Linux.

written by :
Er.Surender Sharma
linux Kernel Developer