Joke Collection Website - Bulletin headlines - Why does the computer have a language called C instead of A B?

Why does the computer have a language called C instead of A B?

classification: computer/network > > Programming > > Analysis of other programming languages

:

C language was designed and invented by Dennis Ritchie of the United States in 1972, and was first used on DEPDP-11 computer with UNIX operating system

. It evolved from the early programming language BCPL (Basic Combind

Programming Language). In 197, at&; Ken

Thompson of T Bell Laboratories designed an advanced language named B according to BCPL, and finally led to the appearance of C language.

with the increasing popularity of microcomputers, many C language versions have appeared. Because there is no unified standard,

makes some inconsistencies between these C languages. In order to change this situation, American National Standards Institute (ANSI) has formulated a set of ANSI standards for C language, which has become the current C language standard.

C language has developed so rapidly and become one of the most popular languages, mainly because of its powerful

functions. Many famous system softwares, such as DBASE Ⅲ PLUS and DBASE Ⅳ, are written in C language.

using c language and some assembly language subroutines can better show the advantages of c language, such as PC- DOS,

WORDSTAR, etc. written in this way. To sum up, C language has the following characteristics:

1. C is an intermediate language

It combines the basic structure and sentences of a high-level language with the practicality of a low-level language. C language can manipulate bits, bytes and addresses like

assembly language, which are the most basic working units of a computer.

2. C is a structured language.

The distinctive feature of structured language is the separation of code and data, that is, all parts of the program are independent of each other except the necessary

information exchange. This structured way can make the program clear and easy to use, maintain and debug. C language is provided to users in the form of functions, which can be easily called, and has a variety of loop and conditional statements to control the flow direction of the program, thus making the program completely structured.

3. C language is fully functional

C language has various data types and introduces the concept of pointer, which can make the program more efficient. In addition,

foreign C language also has powerful graphics functions, supporting a variety of monitors and drivers. Moreover, the calculation function and logic < P > judgment function are also relatively powerful, and the decision-making purpose can be realized.

4. C language is widely used

Another outstanding advantage of C language is that it is suitable for various operating systems, such as DOS and UNIX, and also suitable for

many models.