(? This edition has completely revised the previous edition. The content has been reorganized and more and more C precursor Barbara E Moo's insights in C education. It not only significantly improves readability, but also gives full play to the latest progress of C language and the best practice in the industry at that time. The book not only adds a lot of educational auxiliary content, which is used to focus on the main knowledge points, prompt common errors, recommend excellent programming practices, and give tips for use, but also includes many examples and exercises from actual combat. A comprehensive and prestigious discussion of the basic concepts and technologies of C , and an emphasis on modern C programming style, make this book the best guide for C beginners; This book is also an indispensable reference book for middle - and high-end programmers. Chapter 1 Quick Start 1.1 Writing a simple C program 1.2 Getting a first look at the input/output 1.3 For commenting 1.4 Introduction to the control structure into 1.5 classes 1.6 Summary of C programs Terminology Part 1 Basic speech Chapter 2 Variables and basic types 2.1 Basic built-in types 2.2 Literal constants 2.3 Variables 2.4 const qualifiers 2.5 Citations 2.6 typedef names 2.7 Enumerations 2.8 Class types 2.9 Writing your own header file Summary Terminology Chapter 3 Specification library types 3.1 Using declarations of namespaces 3.2 Specification Standard library string type 3.3 Specification library vector type 3.4 Iterator introduction 3.5 Specification library bitset type summary terminology Chapter 4 Array and pointer 4.1 Array 4.2 Introduction of pointer 4.3C style string 4.4 Multidimensional array summary terminology Chapter 5 Expression 5.1 Arithmetic operator 5.2 Contact operator and logic operator 5.3 Bit operator 5.4 Assignment operator 5.5 Self increasing and self decreasing operator 5.6 Arrow operator 5.7 Conditional operator 5.8 Size of operator 5.9 Comma operator 5.10 Evaluation of compound expressions 5.11new and delete expressions 5.12 Type conversion summary Terminology Chapter 6 Sentences 6.1 Simple sentences 6.2 Declarative sentences 6.3 Compound sentences (blocks) 6.4 Sentence Effect Field 6.5 if Sentence 6.6 switch Sentence 6.7 while Sentence 6.8 for loop Sentence 6.9 do while Sentence 6.10 break Sentence 6.11 continue Sentence 6.12 goto Sentence 6.13 try block and exception management 6.14 Debugging with pre manager Summary Terminology Chapter 7 Function 7.1 Function definition 7.2 Parameter transmission 7.3 return Sentence 7.4 Function declaration 7.5 Part 7.6 Inline function 7.7 Class member function 7.8 Overload function 7.9 Pointer summary terminology Chapter 8 Fan IO library 8.1 Target oriented specification library 8.2 Condition state 8.3 Management of output buffer 8.4 Input and output of files 8.5 Character stream summary Terminology Part II Container and algorithm Chapter 9 Sequence container Chapter 10 Related container Chapter 11 Generic algorithm Part III Class and data general Chapter 12 Class 13 Imitation control Chapter 14 Overload operator and conversion Part IV Object oriented programming and generic programming Chapter 15 Object oriented programming Chapter 16 Template and Generic Programming Part V Advanced Topics Chapter 17 Tools for Large Programs Chapter 18 Special Tools and Technology Appendix Specification Library Index
C Primer Version 4 Chinese Version. pdf)