Chapter – 5
Introduction of C programming
‘C’ is one of the most popular computer languages in today’s computer world. The 'C' programming language was designed and developed by Brian Kernighan and Dennis Ritchie at The Bell Research Labs in 1972.
'C' is a Language specifically created in order to allow the programmer access to almost all of the machine's internals - registers, I/O slots and absolute addresses. At the same time, 'C' allows for as much data handling and programmed text modularization as is needed to allow very complex multi-programmer projects to be constructed in an organized and timely fashion.
Although this language 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.
Why use C in Data Recovery Programming
In today's world of computer programming, there are many high-level languages are available. These languages are good with many features suited for most programming tasks. Yet, there are several reasons that C is the first choice of the programmers who are willing to do programming for data recovery, system programming, device programming or hardware programming:
- C is a popular language preferred by professional programmers. As a result, a wide variety of C compilers and helpful accessories are available.
- C is a portable language. A C program written for one computer system can be compiled and run on another system with little or no modification. Portability is enhanced by the ANSI standard for C, the set of rules for C compilers.
- C allows a wide use of modules in programming. C code can be written in routines called functions. These functions can be reused in other applications or programs. You need not to do extra efforts in the programming of new application to create the same module that you developed in another application programming before.
You can use this function in new program without any change or some minor changes. In case of data recovery programming you will find this quality very much helping when you need the run the same functions several times in different applications of different program.
- C is a powerful and flexible language. This is the reason why C is used for projects as diverse as operating systems, word processors, graphics, spreadsheets, and even compilers for other languages.
- C is a language of few words, containing only a handful of terms, called keywords, which serve as the base on which the language's functionality is built. These keywords, also called reserved words, make it more powerful and give the wide area of programming and make a programmer feel to do any type of programming in C.
|Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi
Publishers of the Book
Number of Pages
Price of the Book
BPB Publications, New Delhi, India
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)