C Language Class 1 : Introduction to C Programming Language
C was developed in the early 1970s by Dennis Ritchie at Bell Laboratories in USA. C was originally first implemented on the DEC PDP-11 computer in 1972. C was originally designed for writing system software but today a variety of software programs are written in C. C can be used on many different types of computers but is mostly used with the UNIX operating system.
It is also called as ‘Procedure oriented programming language‘
The C has now become a widely used professional language for various reasons.
- Easy to learn
- Structured language
- It produces efficient programs.
- It can handle low-level activities.
- It can be compiled on a variety of computer platforms.
Facts about C
- C was invented to write an operating system called UNIX.
- C is a successor of B language which was introduced around 1970
- The language was formalized in 1988 by the American National Standard Institute (ANSI).
- The UNIX OS was totally written in C By 1973.
- Today C is the most widely used and popular System Programming Language.
- Today’s most popular Linux OS and RBDMS MySQL have been written in C.
Why to use C ?
C was initially used for system development work, in particular the programs that make-up the operating system. C was adopted as a system development language because it produces code that runs nearly as fast as code written in assembly language. Some examples of the use of C might be:
- Operating Systems
- Language Compilers
- Text Editors
- Print Spoolers
- Network Drivers
- Modern Programs
- Data Bases
- Language Interpreters
It is a good idea to learn C because it has been around for a long time which means there is a lot of information available on it. Quite a few other programming languages such as C++ and Java are also based on C which means you will be able to learn them more easily in the future.
What you will need ?
This tutorial is written for both Windows and UNIX/Linux users. All the code in the examples has been tested and works the same on both operating systems.
If you are using Windows then you need to download Dev C++ compiler [Click here to Download].
If you are using UNIX/Linux then you will most probably have a C compiler installed called GCC. To check if you have it installed type “cc” or “gcc“at the command prompt. If for some reason you don’t have it then you can download it from http://gcc.gnu.org.