Three questions on C language
Users questions: 1C What are the characteristics of language? 2 outlined the development of c language? 3 How to understand the design of structured programming? Answers have to recover points on the Oh!
Experts answer: (a) C language has the following characteristics: 1.C is the intermediate language is the basic structure and high-level language statements and the practicality of combining low-level language . C language can be the same as the assembly language of the bit, byte, and address operations, but these three are the most basic unit of work a computer. 2.C is a structured language structured language's distinguishing feature is the separation of code and data, that the various parts of the program in addition to the necessary exchange of information independent of each other outside. This structure Based approach enables program-level clarity, ease of use, maintenance, and debugging. C language is a function of the form to the user, these functions can be easily invoked, and with a variety of loop, conditional statements control program flow, and thus make the program fully structured. 3.C complete C-language function with various Data types, and introduces the concept of pointers, can process more efficient. Another C language also has powerful graphics capabilities, support for multiple monitors and drives. And computing, the logical judge of capabilities that can achieve decision-making purposes. 4.C large C-language application and a prominent priority Point is suitable for a variety of operating systems such as DOS, UNIX, also applies to a variety of models. (B) C language development of C language in the early 70s came out. In 1978 by the American Telephone and Telegraph Company (AT & T) Bell Labs has just released the C language. At the same time by the B. W. Ke rnighan and D. M. Ritchit co-author of the famous "THECPROGRAMMINGLANGUAGE" book. Usually referred to as "K & R", was also known as "K & R" standard. However, in the "K & R" is not defined a complete standard C language, and later by the American National Standards Institute to develop on this basis, a C language standard, published in 1983. Often called ANSIC. Of the most excellent C programming language early language mainly for UNIX systems. As the C language's power and gradually all the advantages For people to understand, to the eighties, C began to enter the other * operating systems, and soon all kinds of large, medium, small and micro-computers have been widely used. The most outstanding of contemporary programming languages. (C) of the structure of early computer program design is very small storage capacity, one design process First consideration to the question of how to reduce memory overhead, the hardware limitations do not allow people to consider how to organize data and logic program itself short, the logic is simple, people also need to consider program design methods. Program design is a work so much, rather it is the programmer's personal skills. However, With the large capacity memory and computer technology emerged extensive application programming more and more difficult, the program's size to increase arithmetic Jishu, and the procedure of the logic control difficult Zeyi geometry Jishu increment, people have to Kaolv program design method. The first proposed method is structured programming methods, its nuclear Mind is modular. 1968 Dijskstra published an article in the computer communications [1], notes that the "structured programming", then, Wulf claim "can not GOTO statement," [2]. To 1975, many scholars of the "unstructured process into the Structured programming approach "," flying the type of structure and transformation "," the concept of structured and unstructured, "" flow chart of the decomposition theory, "and so on. Structured programming theory to guide both the formation of another phase practical methods of a discipline. SP method advocated the use of sequence, selection, circulation Three basic structures to form a complex nested hierarchy of "structured programming", strictly control the use of GOTO statements. Compiled in such a way out of the program structure has the following effects: (1) to control the structure as a unit, only one entrance, exit, they are able to independently understand this part. (2) can control the structure as a unit, from top to bottom in order to read the program text. (3) The program description and implementation of the static control flow easily when the mapping is to facilitate the correct understanding of the program action. SP points are: "top-down, stepwise refinement," ideology, "an independent feature Single entry and exit "module only 3 (sequence, branch, loop) basic control structure of the coding principles [3]. From the top down starting point is the question of the overall objective from the start, abstract low-level details of the first concentrate construct high-level structure, and then layer by layer decomposition and refinement. This allows designers to grasp the