Preface
前言
Chapter 1 Fundamentals
1.1 A Simple Structure of Computer Hardware
1.2 The Computer Soul—Software
1.3 C Language and Its Integrated Development
1.4 Software Engineering
Chapter 2 Problem Solving Method
2.1 Algorithms
2.2 Programming Idioms and Paradigms
2.3 Programming Your First Program
2.4 Programming Errors and Debugging
Chapter 3 Program Structure, Data Types, and Expressions
3.1 Program Structure
3.2 Data Types
3.3 Expressions
Chapter 4 Program Control—Decisions and Looping
4.1 Introduction
4.2 The if Statement
4.3 The Loop Control Structure
4.4 The case Control Structure
4.5 Samples
Chapter 5 Arrays
5.1 Defining an Array
5.2 Initializing Arrays
5.3 Multidimensional Arrays
5.4 Variable—length Array
Chapter 6 Functions
6.1 Defining a function
6.2 Parameters
6.3 Local and Global Variables
6.4 Automatic and Static Variables
6.5 Calling Functions
6.6 Recursive Functions
Chapter 7 Pointers
7.1 Pointer and Address
7.2 Pointer Manipulation in C
7.3 Passing Parameters by Reference
7.4 Pointers and Arrays
7.5 Dynamic Allocation
Chapter 8 Structures
8.1 Basic Knowledge
8.2 Functions and Structures
8.3 Arrays of Structures
8.4 Pointers and Structures
8.5 Structures Containing Structures
8.6 Using typedef Keyword