The purpose of C is to precisely define a series of operations that a computer can perform to accomplish a task. Most of these operations involve manipulating numbers and text, but anything that the computer can physically do can be programmed in C.
Computers have no intelligence- they have to be told exactly what to do and this is defined by the programming language you use. Once programmed they can repeat the steps as many times as you wish at very high speed. Modern PCs are so fast they can count to a billion in a second or two.
What can a C program do?
Typical programming tasks includes putting data into a database or pulling it out, displaying high speed graphics in a game or video, controlling electronic devices attached to the PC or even playing music and/or sound effects. You can even write software to generate music or help you compose.
Which computers have C?
This is better stated as which computers don't have C! The answer- almost none, after 30 years of use it is everywhere. It is particularly useful im embedded systems with limited amounts of RAM and ROM. There are C compilers for just about every type of operating system. Find out more aboutOperating Systems.
How do I get started with C?
First you need a C compiler. There are many commercial and free ones available. The list below has instructions for downloading and installing the compilers. Both are completely free and include an IDE to make life easier for you to edit, compile and debug your applications.
C code is written using a text editor. This can be notepad or an IDE like those supplied with the three compilers listed above. You write a computer program as a series of instructions (called statements) in a notation that looks a little like mathematical formulas.
int c=0; float b= c*3.4+10;
This is saved out in a text file and then compiled and linked to generatemachine code which you then can run. Every application you use on a computer will have been written and compiled like this, and many of them will be wriiten in C. Read more about compilers and how they work. You can't usually get hold of the original source code unless it was open source.
Is there plenty of C Open Source?
Because it is so widespread, much open source software has been written in C. Unlike commercial applications, where the source code is owned by a business and never made available, open source code can be viewed and used by anyone. It's an excellent way to learn coding techniques. You can see many examples in the C Code Library
Could I get a programming job?
Certainly. There are many C jobs out there and an immense body of code exists that will need updating, maintaining and occasionally rewriting. The top three most popular programming languages according to the quarterly Tiobe.com survey, are Java, C and C++.
You could write your own games but you'll need to be artistic or have an artist friend. You'll also need music and sound effects. Find out more aboutgame development. Games like Quake 2 and 3 were written in C and the code is available free online for you to study and learn from it.
Perhaps a professional 9-5 career would suit you better- read about aprofessional career or perhaps consider entering the world of software engineering writing software to control nuclear reactors, aircraft, space rockets or for other safety critical areas.
What Tools and Utilities are there?
Well if you can't find what you want, you could always write it. That is how most of the tools around came into existence. We've listed some tools and utilities but keep checking back.
So what now?
First you have to learn to program in C. Read the tutorials and join theforums and ask questions. But most of all have fun!