- 1、本文档共150页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Pointers On C
Instructor’s Guide
Pointers on C—Instructor´s Guide i
Contents
Chapter 1 A Quick Start 1
Chapter 2 Basic Concepts 7
Chapter 3 Data 11
Chapter 4 Statements 15
Chapter 5 Operators and Expressions 23
Chapter 6 Pointers 29
Chapter 7 Functions 37
Chapter 8 Arrays 43
Chapter 9 Strings, Characters, and Bytes 55
Chapter 10 Structures and Unions 69
Chapter 11 Dynamic Memory Allocation 75
Chapter 12 Using Structures and Pointers 79
Chapter 13 Advanced Pointer Topics 87
Chapter 14 The Preprocessor 93
Chapter 15 Input/Output Functions 95
Chapter 16 Standard Library 119
Chapter 17 Classic Abstract Data Types 129
Chapter 18 Runtime Environment 145
1
A Quick Start
1.1 Questions
1. To make the program easier to read, which in turn makes it easier to maintain later.
3. It is easier to see what a named constant represents, if it is well named, than a literal constant,
which merely displays its value.
4. "%d %s %g\n"
6. The programmer can put in subscript checks where they are needed; in places where the sub-
script is already known to be correct (for example, from having been checked earlier), there is no
overhead expended in checking i
文档评论(0)