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

  1. Getting Ready
  1. Introduction
  2. Data and C
    数据和C
  3. Character Strings and Formatted Input/Output
    字符串和格式化输入输出
  4. Operators, Expressions and Statements
    操作符,表达式和语句
  5. C Control Statements: Looping
    C控制语句:循环
  6. C Control Statements: Branching and Jumps
    C控制语句:分支和跳转
  7. Character Input/Output and Input Validation
    字符输入输出和输入验证
  8. Functions
    函数
  9. Arrays and Pointers
    数组和指针
  10. Character, Strings and String Functions
    字符,字符串和字符串函数
  11. Storage Classes, Linkage and Memory Management
    存储类,链接和内存管理
  12. File Input/Output
    文件输入输出
  13. Structers and Other Data Forms
    结构和其他数据形式
  14. Bit Fiddling
    位操作
  15. The C Preprocessor and the C Library
    C预处理器和C库
  16. Advanced Data Representation
    高级数据表示
posted @ 2019-07-04 22:23  keep-minding  阅读(103)  评论(0)    收藏  举报