Mastering C Pointers (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 学完C语言基础语法、被指针卡住的中级学习者
- 计算机专业在读学生,需要补充指针与内存模型的系统认识
- 从事嵌入式、驱动、底层开发的工程师,想理清内存布局细节
- 想读懂复杂C声明、函数指针和数据结构用法的自学者
Not a good fit for
- 完全没有C语言基础的零起点读者,建议先读一本入门教材
- 只想快速查阅语法条目、不需要理解底层模型的人
Reading tips
- 先完成第2章的内存实验,跟着敲代码并打印地址,把栈、堆、静态区的概念落到实际观察上。
- 第3章讲声明解读与表达式时慢读,可对照自己项目中的复杂声明逐条练习,做过一遍比反复看更有效。
- 读完后把书中数据结构案例改写一遍,例如用链表实现单词统计,检验是否真正掌握了指针操作。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 0 Goals and Intended Readers
- Chapter 1 Laying the Foundation—Preliminaries and Review (What Kind of Language C Is; Memory and Addresses; About Pointers; About Arrays)
- Chapter 2 An Experiment—How C Uses Memory (Virtual Addresses; How Memory Is Used; Functions and String Literals; Static Variables; Automatic Variables and the Stack; Recursive Calls; Variable-Length Arrays in C99; malloc() Dynamic Allocation; Alignment; Byte Order)
- Chapter 3 Demystifying the Syntax—What Is Really Going On (Parsing C Declarations; The Data Type Model; Expressions; Arrays and Pointers Are Fundamentally Different)
- Chapter 4 Common Uses of Arrays and Pointers (Basic Usage; Combined Use)
- Chapter 5 Data Structures—The Real Use of Pointers (Case Study 1: Counting Word Frequencies; Case Study 2: Data Structures for a Drawing Tool)
- Chapter 6 Miscellaneous—Odds and Ends (New Function Groups; Pitfalls; Idiomatic Patterns)
- References
FAQ
这本书适合C语言零基础的人读吗?
第1版(2013年,吴雅明译)和第2版有什么区别?
书中的代码需要什么环境才能运行?
读完这本书能达到什么水平?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.