Why should we Learn 'C' Programming Language ? And Whose IDE that we should use for execute our programs ?

Q. Why should we Learn 'C' Programming Language ?

C has many advantages over other programming languages. Among them are:

 

Top 10 points for Learning C Programming

1. It is an efficient language, suitable for applications that run on personal computers, microcomputers, minicomputers, workstations, and other small machines.

2. Its large variety of operators and commands can be used to write anything from operating systems to accounting packages. In fact, many of the C compilers on the market today were written in C.

3. It is capable of handling a vaiety of systems applications.

4. C is a portable language. A 'C' program written on one computer (e.g. IBM-PC) can be run with little or no modification on any other computer (e.g. Apple Macintosh) with a C compiler.

5. Like assembly language, C enables programmers to have extensive control over computer hardware, but because C uses English like statements, which are easy to read, it is often classified as a high level language.

6. It is a block-structured language, in which you can replace elementary units with entie blocks, thus allowing-modular development and easy expansion of programs.This book approach makes program debugging and maintenaince engineering.

7. It is flexible. By creating your own function modules, you can make C do just anout anything you want. If you are so inclined, you can create your own language in C!.

8. It has high execution speed. C is said to be "closer" to assembly languagethan other high level languagebecause some C commands directly address the physical hardware of the computer. Situations arise where execution speed is critical; sorting is a common example. Coding the program in assembly language was the usual solution. The problem was that, as new Central Processing Unit (CPU) chips were introduced, the programmer was forced to learn a new instruction set for each CPU. Retraining costs were so high that many commercial software houses switched to C language. With a good C compiler, the difference in execution speed between C and an assembler will go unnoticed in all but the most demanding cases.

9. Many companies such as Lotus and Microsoft use it for developing their software packages. Many of popular applications, such as Wod Perfect and Lotus 1-2-3 which were originally written in assembly language have been converted to C.

10. C is the standard programming languagein many industries and applications. If you read job advertisements in a major newspapers, you will find that there are more opening for C programmers than for FORTRAN or COBOL programmers, with language as Pascal and PL/1 rarely find being mentioned.

 

 

Q. Whose IDE we should use for execute our programs ?

The IDE of Turbo C++ Compiler

To start Turbo C++ just type

     C:\TC\BIN\TC

and press Enter.

The blank screen of Integrated Development Environment (IDE) is displayed Turbo C++ IDE consist of menu bar, windows, status line, and quick reference keys. You can activate the menu bar by pressing F10 or using mouse. Each of the main menu bar commands has a pull-down menu. You can invoke pull-down menu one by one by moving the cursor to it and pressing Enter or by just typing its first letter (for example, F for File or R for Run). The cursor is initially on File at the far left. You can also invoke each of the pull-down menus by pressing Alt+keys.

Look at the bottom of the screen to know what function keys do. Boland calls it the Quick Reference line. Pressing F1 invokes help, and F10 switches between the main screen and the menu bar.

Immediately below the menu bar is a status line. It indicates the current cursor position in lines (rows) and columns. The starting (or home) position is row 1, column 1 in the top left corner. The status line also contains mode information and the name of the current file at the top.

Initially, the name will be ""NONAME00.CPP" which is Turbo C++'s default. The "CPP" (which means C plus plus) extension indicates a C++ language (source) program.

 

Enjoyed this article? Stay informed by joining our newsletter!

Comments

You must be logged in to post a comment.

Related Articles
About Author