|
大小: 1830
备注:
|
大小: 0
备注:
|
| 删除的内容标记成这样。 | 加入的内容标记成这样。 |
| 行号 1: | 行号 1: |
| = Chapter 1 A Tutorial Introduction(概论) = * Basic Concepts(基本概念): * variable(变量) * data type(数据类型) * function(函数), argument(参数), return value(返回值) * constant(常量) * input(输入) * output(输出) * arithmetic(算术运算) * control flow(控制流) * Examples: * hello world * Fahrenheit-Celsius table * copy input to output * count input characters * count input lines * count input words * count input digits * power function * print longest input line = Chapter 2 Types, Operators, and Expressions = * Contents * Variable Names * Data Types and Sizes * Constants * Declarations * Arithmetic Operators * Relational and Logical Operators * Type Conversion * Increment and Decrement Operators * Bitwise Operators * Conditional Expressions * Precedence and Order of Evaluation * Examples: * strlen * atoi * lower * rand, srand * squeeze * strcat * getbits * bitcount = Chapter 3 Control Flow = * Contents * Statements and Blocks * If-Else * Else-If * Switch * Loops While and For * Loops Do-while * Break and Continue * Goto and Labels * Examples: * binsearch * count input digits using switch * atoi * shellsort * reverse * itoa * trim = Chapter 4 Functions and Program Structure = * Contents * Basics of Functions * Functions Returning Non-integers * External Variables * Scope Rules * Header Files * Static Variables * Register Variables * Block Structure * Initialization * Recursion * The C Preprocessor = Chapter 5 Pointers and Arrays = * Contents * Pointers and Addresses * Pointers and Function Arguments * Pointers and Arrays |