summary

C is a powerful, concise programming language. It is popular because it offers useful programming tools, good control hardware, and because C programs are easier than most to transport from one system to another.

C is a compiled language. C compilers and linkers are programs that convert language source code into executable code.

Programming in C can be taxing, difficult, and frustrating, but it can also be intriguing, exciting, and satisfying. we hope you find it as enjoyable and fascinating as we do.

review questions

1. portability

A perfectly portable program is one whose source code can, without modification, be compiled to a successful program on a variety of different computer systems.

2. souce code file, object code file, and executable file.

C_primer_plus Chapter 1 Notes

3. seven steps in programming

a. Defining program objectives.
b. Designing the program.
c. Coding the program.
d. Compiling the program.
e. Running the program.
f. Testing and debugging the program.
g. Maintaining and modifying the program.

4. computer 

A compiler translates source code (for example, code written in C) to the equivalent
machine language code, also termed object code .

5. linker

The linker combines translated source code with library code and start-up code to
produce an executable program.

 

相关文章: