Improve your programming through a solid understanding of C pointers and memory management. With this practical book, you'll learn how pointers provide the mechanism to dynamically manipulate memory, enhance support for data structures, and enable access to hardware. Author Richard Reese shows you how to use pointers with arrays, strings, structures, and functions, using memory...
Improve your programming through a solid understanding of C pointers and memory management. With this practical book, you'll learn how pointers provide the mechanism to dynamically manipulate memory, enhance support for data structures, and enable access to hardware. Author Richard Reese shows you how to use pointers with arrays, strings, structures, and functions, using memory models throughout the book. Difficult to master, pointers provide C with much flexibility and power - yet few resources are dedicated to this data type. This comprehensive book has the information you need, whether you're a beginner or an experienced C or C++ programmer or developer. Get an introduction to pointers, including the declaration of different pointer types Learn about dynamic memory allocation, de-allocation, and alternative memory management techniques Use techniques for passing or returning data to and from functions Understand the fundamental aspects of arrays as they relate to pointers Explore the basics of strings and how pointers are used to support them Examine why pointers can be the source of security problems, such as buffer overflow Learn several pointer techniques, such as the use of opaque pointers, bounded pointers and, the restrict keyword
作者简介
· · · · · ·
作者简介 :
Richard Reese
华盛顿州塔尔顿州立大学副教授。Reese自2002年起就在塔尔顿州立大学教授计算机科学课程,此前在洛克希德•马丁公司做过十年的软件开发。Reese著有多本技术图书,包括Oracle Certified Associate,Java SE 7 Programmer Study Guide,Java 7 New Features Cookbook,EJB 3.1 CookBook等。
The ASCII NUL is defined as a byte containing all zeros. However, this is not the same as a null pointer. A string in C is represented as a sequence of characters terminated by a zero value. The null string is an empty string and does not contain any characters. Finally, the null statement consists of a statement with a single semicolon. (查看原文)
0 有用 Adobe_CS5 2013-07-24 10:16:00
详细的讲解了指针的方方面,帮我把之前欠的债都还了,每一个程序员都对o'reilly充满敬意
0 有用 Fanchen 2018-08-17 04:05:12
Worth reading.
0 有用 mazei 2014-12-29 18:07:37
Reilly出品,品质保证。其中的例子应该是作者哪里抄来的,从其格式来看。比如一会int* pi, 一会儿int * pi, 一会儿又int *pi。难道作者是故意让读者记住这都是一样的吗? 那int i=0; for(i=0; i<size; i++) 与 for (int i=0; i<size; i++) 怎么解释。。。 page155的BST显然是个错误,移动了根节点指针,是不对,好在不影... Reilly出品,品质保证。其中的例子应该是作者哪里抄来的,从其格式来看。比如一会int* pi, 一会儿int * pi, 一会儿又int *pi。难道作者是故意让读者记住这都是一样的吗? 那int i=0; for(i=0; i<size; i++) 与 for (int i=0; i<size; i++) 怎么解释。。。 page155的BST显然是个错误,移动了根节点指针,是不对,好在不影响整体的介绍; 最后两节内容较空洞,有点凑页数的感觉。。 总体来看,极好的扫除C指针盲点的书 (展开)
0 有用 17号 2017-03-31 09:45:35
太浅了。
0 有用 Alan 2014-09-02 15:06:29
感觉还可以,看来是为了复习一下C的指针
0 有用 学fei了 2021-05-31 11:29:45
篇幅应该还可以在压缩一下的,压缩到现在的3/4应该没啥问题,这本书确实让我理解了之前所不知道的一些东西,但是作者开头长篇大论强调指针的重要性让我对本书的期待稍有下降,总的来说信息密度不算大,可以当做reference book来看
0 有用 Ethanity 2018-09-20 17:37:58
挺使用的c指针
0 有用 Fanchen 2018-08-17 04:05:12
Worth reading.
0 有用 17号 2017-03-31 09:45:35
太浅了。
2 有用 离线思考 2016-01-19 10:09:33
内容还算详实,对于初选者在实践层面提高一点很有帮助。该书是第一版,其中错误不少,阅读前务必把勘误页打印对照阅读 http://www.oreilly.com/catalog/errata.csp?isbn=0636920028000