版本7和8间的区别
于2005-12-29 22:16:07修订的的版本7
大小: 1830
编辑: 218
备注:
于2005-12-29 22:19:25修订的的版本8
大小: 1968
编辑: 218
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 74: 行号 74:
 * Examples
  * strindex
  * atof
  * reverse Polish calculator
  * printd
  * qsort
行号 79: 行号 85:
 * Examples
  * swap
  * getint
  * strlen

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
  • Examples
    • strindex
    • atof
    • reverse Polish calculator
    • printd
    • qsort

Chapter 5 Pointers and Arrays

  • Contents
    • Pointers and Addresses
    • Pointers and Function Arguments
    • Pointers and Arrays
  • Examples
    • swap
    • getint
    • strlen

C语言要点 (2008-02-23 15:36:27由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.