
| 本书特点:
◆新增和更新的编程示例和相关解析——这是本书作者用来说明和讲授语言概念的标志性的技巧。 ◆正文论述和练习经过反复推敲,突出了递归的重要性。 ◆对多文件编辑给予更大的关注,因为这是关系到正确性和类型安全的一些问题。对涵数模型的使用贯 穿全书。 ◆详细论述了抽象数据类型,这是对于理解对象来说必不可少的关键概念。 ◆更新了相关资料,讲述如何从C过渡到C++以及Java,其中包括面向对象程序设计的重要概念。 ◆以简单表格的形式列出C的关键函数和特征,供读者参考。 |
| Ira Pohl是美国加州大学圣克鲁兹分校计算机科学技术系教授,具有20多年软件教学经验,是C和C++语言程序设计的国际权威,著有多部与C和C++语言有关的经典著作(其中,《C++精粹》和《C语言解析教程》已经由机械工业出版社翻译出版)。他曾为多家机构提供技术咨询服务,包括DEC公司、苹果公司,斯坦福线形加速器研究中心、Xylinx和Gupta公司等。
|
| Preface Chapter 0 Startin from Zero 0.1 Why C? 0.2 ANSI C Standard 0.3 From C to C++ 0.4 From C and C++ to Java Chapter 1 An Overview of C 1.1 Programming and Preparation 1.2 Program Output 1.3 Variables,Expressions,and Assignment 1.4 The Use of #define and #include 1.5 The Use of prinft( )and scanf( ) 1.6 Flow of Control 1.7 Function Call-by-Vlaue 1.8 Arrays,Strins,and Pointers 1.9 Files 1.10 Operatin System Considerations Writing and running a C Program Interrupting a Program Typing an End-of-file Signal Summary Exercises Chapter 2 Lxcical elements,Operators,and the C System 2.1 Characters and Lexical Elements 2.2 Syntax Rules 2.3 Comments 2.4 Keywords 2.5 Identrfiers 2.6 Constants 2.7 String Constants 2.8 Operators and Punctuators 2.9 Precedence and Associativity of Operators 2.10 Increment and Decrement Operators 2.11 Assignment Operators 2.12 An Ezample: Computing Powers of 2 The Preprocessor The Standard Library Summary Exercises …… 2.13 |
商品评论(0条)