C_Primer_Plus00.Introduction
C Primer Plus
6th edition
2013.12
Author: Stephen Prata
Introduction
- Dennis M. Ritchie 在贝尔实验室开发
- 为开发 Unix 操作系统而诞生,继承自 B语言
- 1972 年第一次在 DEC PDP-11 计算机上实现
- 1978 年 Brain Kernighan 和 Dennis Ritchie 发布了C语言第一个版本,称为 K&R 标准;后来有 ANSI C(ANSI/ISO C, C89, C90) 标准,C99标准,C11标准
- Unix 操作系统,C编译器和所有重要的 Unix 应用程序都是用 C 写的
- 特点
- 简单易学
- 结构化语言
- 高效执行
- 可处理低级行为
- 可在多种计算机平台上编译
Facts about C
- C最初被发明出来用于开发 Unix 操作系统
- C 继承自 B(1970s)
- Unix 完全是用 C 编写
- 大多数的 state-of-the-art 的软件是用 C 实现的
- Linux 和 MySQL 是用 C 写的
Why Use C
- C 用于系统开发语言,是因为它的运行速度几乎和汇编语言一样快
- C 的使用场景举例
- 操作系统
- 语言编译器
- 汇编语言
- 文本编辑器
- 打印机程序
- 网络驱动
- 现代程序
- 数据库
- 语言解释
- 工具
Contents
- Getting Ready
- Introduction
- Data and C
数据和C - Character Strings and Formatted Input/Output
字符串和格式化输入输出 - Operators, Expressions and Statements
操作符,表达式和语句 - C Control Statements: Looping
C控制语句:循环 - C Control Statements: Branching and Jumps
C控制语句:分支和跳转 - Character Input/Output and Input Validation
字符输入输出和输入验证 - Functions
函数 - Arrays and Pointers
数组和指针 - Character, Strings and String Functions
字符,字符串和字符串函数 - Storage Classes, Linkage and Memory Management
存储类,链接和内存管理 - File Input/Output
文件输入输出 - Structers and Other Data Forms
结构和其他数据形式 - Bit Fiddling
位操作 - The C Preprocessor and the C Library
C预处理器和C库 - Advanced Data Representation
高级数据表示

浙公网安备 33010602011771号