|
⇤ ← 于2005-12-29 18:58:54修订的的版本1
大小: 456
备注:
|
大小: 721
备注:
|
| 删除的内容标记成这样。 | 加入的内容标记成这样。 |
| 行号 1: | 行号 1: |
| = Chapter 1 A Tutorial Introduction(概论) = * Basic Concepts(基本概念): variable(变量), function(函数), constant(常量), input(输入), output(输出), arithmetic(算术运算), control flow(控制流) |
= Chapter 1 A Tutorial Introduction(概论) = * Basic Concepts(基本概念): * variable(变量) * data type(数据类型) * function(函数), argument(参数), return value(返回值) * constant(常量) * input(输入) * output(输出) * arithmetic(算术运算) * control flow(控制流) |
| 行号 4: | 行号 12: |
| * Hello world * Fahr-Celsius table |
* hello world * Fahrenheit-Celsius table |
| 行号 13: | 行号 21: |
| = Chapter 2 Types, Operators, and Expressions = * Variable Names * Data Types and Sizes * Constants * Declarations * Arithmetic Operators |
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
- Variable Names
- Data Types and Sizes
- Constants
- Declarations
- Arithmetic Operators