24小时热门版块排行榜    

查看: 751  |  回复: 0

[资源] 【原创】C语言圣经————英文版

The C programming Language
By Brian W. Kernighan and Dennis M. Ritchie.
Published by Prentice-Hall in 1988




Contents
Preface
Preface to the first edition
Introduction
Chapter 1: A Tutorial Introduction
Getting Started
Variables and Arithmetic Expressions
The for statement
Symbolic Constants
Character Input and Output
File Copying
Character Counting
Line Counting
Word Counting
Arrays
Functions
Arguments - Call by Value
Character Arrays
External Variables and Scope

Chapter 2: Types, Operators and Expressions
Variable Names
Data Types and Sizes
Constants
Declarations
Arithmetic Operators
Relational and Logical Operators
Type Conversions
Increment and Decrement Operators
Bitwise Operators
Assignment Operators and Expressions
Conditional Expressions
Precedence and Order of Evaluation

Chapter 3: Control Flow
Statements and Blocks
If-Else
Else-If
Switch
Loops - While and For
Loops - Do-While
Break and Continue
Goto and labels

Chapter 4: Functions and Program Structure
Basics of Functions
Functions Returning Non-integers
External Variables
Scope Rules
Header Files
Static Variables
Register Variables
Block Structure
Initialization
Recursion
The C Preprocessor
File Inclusion
Macro Substitution
Conditional Inclusion

Chapter 5: Pointers and Arrays
Pointers and Addresses
Pointers and Function Arguments
Pointers and Arrays
Address Arithmetic
Character Pointers and Functions
Pointer Arrays; Pointers to Pointers
Multi-dimensional Arrays
Initialization of Pointer Arrays
Pointers vs. Multi-dimensional Arrays
Command-line Arguments
Pointers to Functions
Complicated Declarations

Chapter 6: Structures
Basics of Structures
Structures and Functions
Arrays of Structures
Pointers to Structures
Self-referential Structures
Table Lookup
Typedef
Unions
Bit-fields

Chapter 7: Input and Output
Standard Input and Output
Formatted Output - printf
Variable-length Argument Lists
Formatted Input - Scanf
File Access
Error Handling - Stderr and Exit
Line Input and Output
Miscellaneous Functions
String Operations
Character Class Testing and Conversion
Ungetc
Command Execution
Storage Management
Mathematical Functions
Random Number generation

Chapter 8: The UNIX System Interface
File Descriptors
Low Level I/O - Read and Write
Open, Creat, Close, Unlink
Random Access - Lseek
Example - An implementation of Fopen and Getc
Example - Listing Directories
Example - A Storage Allocator
Appendix A: Reference Manual
Introduction
Lexical Conventions
Syntax Notation
Meaning of Identifiers
Objects and Lvalues
Conversions
Expressions
Declarations
Statements
External Declarations
Scope and Linkage
Preprocessor
Grammar

Appendix B: Standard Library
Input and Output:
File Operations
Formatted Output
Formatted Input
Character Input and Output Functions
Direct Input and Output Functions
File Positioning Functions
Error Functions
Character Class Tests:
String Functions:
Mathematical Functions:
Utility Functions:
Diagnostics:
Variable Argument Lists:
Non-local Jumps:
Signals:
Date and Time Functions:
Implementation-defined Limits: and

Appendix C: Summary of Changes


address:
http://www.namipan.com/d/c%e8%af ... 04a3c6a488802e50300
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

相关版块跳转 我要订阅楼主 Doct0r_chen 的主题更新
☆ 无星级 ★ 一星级 ★★★ 三星级 ★★★★★ 五星级
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 基金啊基金 +3 longfie172 2026-08-20 3/150 2026-08-21 00:04 by wuchongjun
[基金申请] 科研孤儿太难了 +14 我4大白菜 2026-08-20 15/750 2026-08-20 22:33 by 袁向阳007
[基金申请] 让我中一个面上吧! +8 大萍1987 2026-08-20 10/500 2026-08-20 21:48 by 大萍1987
[基金申请] 言之凿凿,明天官网会通知放榜? +15 医学老男孩 2026-08-20 17/850 2026-08-20 20:35 by CaoLG
[基金申请] 时间戳又变了 +12 wuchongjun 2026-08-20 17/850 2026-08-20 20:05 by spzhao
[基金申请] 今天系统多次维护,明天很可能放榜! +10 zju2000 2026-08-16 11/550 2026-08-20 20:02 by cl479861084
[基金申请] 时间戳变了,能看出什么问题? +18 基诺咪客 2026-08-17 23/1150 2026-08-20 17:19 by Godzela
[基金申请] 只有每年这种时候来逛逛小木虫 +21 yaoyewhu2008 2026-08-20 22/1100 2026-08-20 17:03 by yaoyewhu2008
[基金申请] 放榜前的不淡定 40+3 snowwithsea 2026-08-19 12/600 2026-08-20 15:56 by lfy8008
[基金申请] 今天基金会出结果吗?20260819 +14 kkkl_v 2026-08-19 15/750 2026-08-20 08:21 by sunzitan
[基金申请] filecode,4个jtjc了 +11 ziyangfang 2026-08-19 13/650 2026-08-19 21:28 by aasahr
[教师之家] 为什么余额宝的年化利率越来越低?主要原因有哪些? +5 瞬息宇宙 2026-08-15 5/250 2026-08-19 20:23 by super2002521
[基金申请] 今天放榜没戏了吧 +4 yuleib84 2026-08-19 5/250 2026-08-19 19:52 by hhs666
[基金申请] 今天放榜吗? +14 布布和一二 2026-08-19 15/750 2026-08-19 18:07 by gltch
[基金申请] 2027广东省杰青 +4 奶牛小黑 2026-08-15 10/500 2026-08-19 11:02 by wanfengnew
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +6 Tide man 2026-08-14 7/350 2026-08-19 09:56 by ZJTJZ
[基金申请] 时间戳又变了8-15 +14 archvillain 2026-08-15 26/1300 2026-08-18 13:37 by phantomgost
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
[基金申请] 93BebMhtakh前后11位开头都是大写 +4 且听虎啸 2026-08-17 5/250 2026-08-18 00:49 by 蔡棒棒菂
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
信息提示
请填处理意见