在计算机发展的历史上,没有哪一种程序设计语言像C语言这样应用广泛。本书是C语言的设计者之一Dennis M.Ritchie和著名计算机科学家Brian W.Kernighan合著的一本介绍C语言的权威经典著作。我们现在见到的大量论述C语言程序设计的教材和专著均以此书为蓝本。本书第1版中介绍的C语言成为后来广泛使用的C语言版本——标准C的基础。人们熟知的“hello,World"程序就是由本书首次引入的。现在,这一程序已经成为众多程序设计语言入门的第一课。
第2版根据1987年制定的ANSIC标准做了适当的修订,引入了最新的语言形式,并增加了新的示例。通过简洁的描述、典型的示例,作者全面、系统、准确地讲述了C语言的各个特性以及程序设计的基本方法。对于计算机从业人员来说,本书是一本必读的程序设计语言方面的参考书。
序第1版序IntroductionChapter 1. A Tutorial Introduction 1.1 Getting Started 1.2 Variables and Arithmetic Expressions 1.3 The For Statement 1.4 Symbolic Constants 1.5 Character Input and Output 1.6 Arrays 1.7 Functions 1.8 Arguments--Call by Value 1.9 Character Arrays 1.10 External Variables and ScopeChapter 2. Types, Operators, and Expressions 2.1 Variable Names 2.2 Data Types and Sizes 2.3 Constants 2.4 Declarations 2.5 Arithmetic Operators 2.6 Relational and Logical Operators 2.7 Type Conversions 2.8 Increment and Decrement Operators 2.9 Bitwise Operators 2.10 Assignment Operators and Expressions 2.11 Conditional Expressions 2.12 Precedence and Order of Evaluation Chapter 3. Control Flow 3.1 Statements and Blocks 3.2 If-Else 3.3 Else-If 3.4 Switch 3.5 Loops--While and For 3.6 Loops-Do-while 3.7 Break and Continue 3.8 Goto and LabelsChapter 4. Functions and Program Structure 4.1 Basics of Functions 4.2 Functions Returning Non-integers 4.3 External Variables 4.4 Scope Rules 4.5 Header Files 4.6 Static Variables 4.7 Register Variables 4.8 Block Structure 4.9 Initialization 4.10 Recursion 4.11 The C PreprocessorChapter 5. Pointers and Arrays 5.1 Pointers and Addresses 5.2 Pointers and Function Arguments 5.3 Pointers and Arrays 5.4 Address Arithmetic 5.5 Character Pointers and Functions 5.6 Pointer Arrays; Pointers to Pointers 5.7 Multi-dimensional Arrays 5.8 Initialization of Pointer Arrays 5.9 Pointers vs. Multi-dimensional Arrays 5.10 Command-line Arguments 5.11 Pointers to Functions 5.12 Complicated DeclarationsChapter 6. Structures 6.1 Basics of Structures 6.2 Structures and Functions 6.3 Arrays of Structures 6.4 Pointers to Structures 6.5 Self-referential Structures 6.6 Table Lookup 6.7 Typedef 6.8 Unions 6.9 Bit-fieldsChapter 7. Input and Output 7.1 Standard Input and Output 7.2 Formatted Output--Printf 7.3 Variable-length Argument Lists 7.4 Formatted Input-Scanf 7.5 File Access 7.6 Error Handling--Stderr and Exit 7.7 Line Input and Output 7.8 Miscellaneous FunctionsChapter 8. The UNIX System Interface 8.1 File Descriptors 8.2 Low Level I/O-Read and Write 8.3 Open, Creat, Close, Unlink 8.4 Random Access--Lscek 8.5 Example--An Implementation of Fopen and Getc 8.6 Example--Listing Directories 8.7 Example--A Storage AllocatorAppendix A. Reference Marital AI Introduction A2 Lexical Conventions A3 Syntax Notation A4 Meaning of Identifiers A5 Objects and Lvalues A6 Conversions A7 Expressions A8 Declarations A9 Statements AI0 External Declarations All Scopeand Linkage A12 Preprocessing A13 GrammarAppendix B. Standard Library B1 Input and Output:
版式设计原理,ISBN:9787500677390,作者:(日)佐佐木刚士目录 第1章页面构成的理论总觉得效果有点奇怪根据理论修改之后Spec
《不烦恼的月子生活:开心做妈妈》内容简介:对新妈妈而言,宝宝的出生并不意味孕产生活的结束,而是一段影响终身的坐月子生活的开
Asimple,practical,andconciseguidetotimberdesignTofullyunderstandstructuraldesign...
《鸽群中的猫》内容简介:著名女子学院“芳草地”迎来了新的学期。新入学的女孩里有一位谢斯塔公主,她的表哥刚刚在一场政变中被害
机器学习理论及应用 本书特色 《机器学习理论及应用》:当代科学技术基础理论与前沿问题研究丛书:中国科学技术大学校友文库。机器学习理论及应用 内容简介 机器学习新...
《中国民法典释评·物权编(上下卷)》内容简介:制定民法典是我国立法领域的一件大事,也是建设中国特色社会主义法治国家的一项重
《Go微服务实战》内容简介:当今世界,软件的规模越来越大、功能越来越复杂,研发团队的规模也变得越来越大,运维人员和研发人员之
《经济转型背景下的财富管理与资产配置》内容简介:当前,国际国内经济金融形势复杂多变,投资单一市场、单一资产的不确定性不断加
《边做边学深度强化学习》内容简介:本书最大的特点在于讲解深度强化学习算法时尽可能地做到化繁为简,书中没有复杂的符号逻辑,也
《C和C++安全编码》是关于C和C++安全编码的著作。《C和C++安全编码》介绍了C和C++程序中已经导致危险的、破坏性的基本编程错误,
《React Native开发指南(第2版)》内容简介:本书通过丰富的示例和详细的讲解,介绍了React Native这款JavaScript框架。在React...
本书是美国Oregon州立大学的MichaelJ.Quinn教授在多年讲授“并行程序设计”课程的基础上编写而成的,主要介绍用C语言,并结合使用
PHP编程-第3版 本书特色 这是一本可以让读者深入了解php 技术的书籍,作者用言简意赅的语言并结合了大量实例来解释每一个要素。本书涵盖了php 所有...
StevenJohnMetsker是DominionDigital公司的管理顾问,该公司负责信息技术与商业过程的重新设计。Steven擅长运用面向对象技术构建
《党意与民意》内容简介:本书讨论了1933—1934年北平市参议会、1946年北平市临时参议会和1947—1948年北平市正式参议会召开的背景
《现代数字信号处理》介绍了现代数字信号处理的主要内容。首先概述了离散时间信号处理和离散随机信号分析的基础内容,主要是一些
《小顾聊中国画》内容简介:★一场有梗有料又新潮的国画艺术脱口秀,一本图文并茂、妙趣横生的中国画通史,让你忍不住爱上中国画。
原田进:1975-1977年就读美国加州旧金山艺术大学设计系1977-198年在美国、欧洲设计公司工作198年返回日本,进入Paos株式会社工作
《Python深度学习:基于TensorFlow》内容简介:在机器学习、深度学习中有很多抽象的概念、复杂的算法、深奥的理论,如Numpy的广播机
李蕙蓁│研究所專研生態與觀光遊憩,喜愛藝術、設計、攝影,曾在望安與海龜結下不解之緣,擁有豐富的「龜」收藏。曾任報紙、雜誌