Understanding and Using C Pointers e-bog
245,52 DKK
(inkl. moms 306,90 DKK)
Improve your programming through a solid understanding of C pointers and memory management. With this practical book, youll 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...
E-bog
245,52 DKK
Forlag
O'Reilly Media
Udgivet
1 maj 2013
Længde
226 sider
Genrer
Programming and scripting languages: general
Sprog
English
Format
epub
Beskyttelse
LCP
ISBN
9781449344559
Improve your programming through a solid understanding of C pointers and memory management. With this practical book, youll 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 poweryet few resources are dedicated to this data type. This comprehensive book has the information you need, whether youre a beginner or an experienced C or C++ programmer or developer.Get an introduction to pointers, including the declaration of different pointer typesLearn about dynamic memory allocation, de-allocation, and alternative memory management techniquesUse techniques for passing or returning data to and from functionsUnderstand the fundamental aspects of arrays as they relate to pointersExplore the basics of strings and how pointers are used to support themExamine why pointers can be the source of security problems, such as buffer overflowLearn several pointer techniques, such as the use of opaque pointers, bounded pointers and, the restrict keyword