Understanding and Using C Pointers (Paperback)

Understanding and Using C Pointers (Paperback)

作者: Richard M Reese
出版社: O'Reilly
出版在: 2013-05-28
ISBN-13: 9781449344184
ISBN-10: 1449344186
裝訂格式: Paperback
總頁數: 226 頁





內容描述


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




相關書籍

Practical Vim : Edit Text at the Speed of Thought, 2/e (Paperback)

作者 Drew Neil

2013-05-28

Introduction to Computing Systems:From Bits and Gates to C and Beyond, 2/e (Patt) (計算機概論導讀本) (授權經銷版)

作者 Yale N. Patt Sanjay J. Patel 林柏江(Po-Chiang Lin ) 導讀

2013-05-28

Windows C/C++ 加密解密實戰

作者 朱晨冰 李建英

2013-05-28