目錄
PrefaceⅠ
前言Ⅲ
Chapter 1 Fundamentals1
1.1A Simple Structure of Computer Hardware
1.2The Computer Soul—Software
1.3C Language and Its Integrated Development
1.4Software Engineering
Chapter 2Problem Solving Method8
2.1Algorithms
2.2Programming Idioms and Paradigms
2.3Programming Your First Program
2.4Programming Errors and Debugging
Chapter 3Program Structure, Data Types, and Expressions16
3.1Program Structure
3.2Data Types
3.3Expressions
Chapter 4Program ControlDecisions and Looping29
4.1Introduction
4.2The if Statement
4.3The Loop Control Structure
4.4The case Control Structure
4.5Samples
Chapter 5Arrays48
5.1Defining an Array
5.2Initializing Arrays
5.3Multidimensional Arrays
5.4Variablelength Array
Chapter 6Functions58
6.1Defining a function
6.2Parameters
6.3Local and Global Variables
6.4Automatic and Static Variables
6.5Calling Functions
6.6Recursive Functions
Chapter 7Pointers70
7.1Pointer and Address
7.2Pointer Manipulation in C
7.3Passing Parameters by Reference
7.4Pointers and Arrays
7.5Dynamic Allocation
Chapter 8Structures95
8.1Basic Knowledge
8.2Functions and Structures
8.3Arrays of Structures
8.4Pointers and Structures
8.5Structures Containing Structures
8.6Using typedef Keyword
Chapter 9Files106
9.1Text Files
9.2Using Files
9.3Character, Lineoriented, Formatted I/O
AppendixANSI Libraries

