靳润昭 C 语言教程讲义 2001 年 2 月 17 日
第 1 页
1 C 语言概述.......................................................................................................................2
2 程序的灵魂—算法 ........................................................................................................20
3 数据类型、运算符与表达式 ........................................................................................32
4 最简单的 C 程序设计—顺序程序设计........................................................................53
5 分支结构程序 ................................................................................................................65
6 循环控制 ......................................................................................................................... 77
7 数组 ................................................................................................................................90
8 函 数 ............................................................................................................................106
9 预处理命令 ....................................................................................................................129
10 指针 ..............................................................................................................................140
11 结构体与共用体 ......................................................178
12 位运算 ..............................................................194
13 文件 ................................................................200
1 C 语言概述...............................................................................................................................2
1.1 C语言的发展过程 ..................................................................................................2
1.2 当代最优秀的程序设计语言...................................................................................2
1.3 C语言版本 ..............................................................................................................2
1.4 C语言的特点 ..........................................................................................................2
1.5 面向对象的程序设计语言.......................................................................................3
1.6 C和C++ ..............................................................................................................3
1.7 简单的C程序介绍 ..................................................................................................3
1.8 输入和输出函数 ......................................................................................................5
1.9 C源程序的结构特点 ..............................................................................................6
1.10 书写程序时应遵循的规则.......................................................................................6
1.11 C语言的字符集 ......................................................................................................6
1.12 C语言词汇 ..............................................................................................................6
1.13 Turbo C 2.0 集成开发环境的使用 ..........................................................................8
1.13.1 Turbo C 2.0 简介和启动 ..................................................................................8
1.13.2 Turbo C 2.0 集成开发环境 ..............................................................................8
1.13.3 File 菜单 ...........................................................................................................9
1.13.4 Edit 菜单.........................................................................................................10
1.13.5 Run 菜单......................................................................................................... 11
1.13.6 Compile 菜单..................................................................................................12
1.13.7 Project 菜单....................................................................................................13
1.13.8 Options 菜单...................................................................................................14
1.13.9 Debug 菜单.....................................................................................................18
1.13.10 Break/watch 菜单 ...................................................................................19
1.13.11 Turbo C 2.0 的配置文件 ................................................................................20
UnRegistered
评论0