Understanding and Using C Pointers: Core Techniques for Memory Management

Understanding and Using C Pointers: Core Techniques for Memory Management

by Richard M Reese
Understanding and Using C Pointers: Core Techniques for Memory Management

Understanding and Using C Pointers: Core Techniques for Memory Management

by Richard M Reese

eBook

$25.49  $33.99 Save 25% Current price is $25.49, Original price is $33.99. You Save 25%.

Available on Compatible NOOK Devices and the free NOOK Apps.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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

Product Details

ISBN-13: 9781449344559
Publisher: O'Reilly Media, Incorporated
Publication date: 05/01/2013
Sold by: Barnes & Noble
Format: eBook
Pages: 226
File size: 4 MB

About the Author

Richard Reese has worked in the industry and academics for the past 29 years. For 10 years he provided software development support at Lockheed and at one point developed a C based network application. He was a contract instructor providing software training to industry for 5 years. Richard is currently an Associate Professor at Tarleton State University in Stephenville Texas.

Table of Contents

  • Preface
  • Chapter 1: Introduction
  • Chapter 2: Dynamic Memory Management in C
  • Chapter 3: Pointers and Functions
  • Chapter 4: Pointers and Arrays
  • Chapter 5: Pointers and Strings
  • Chapter 6: Pointers and Structures
  • Chapter 7: Security Issues and the Improper Use of Pointers
  • Chapter 8: Odds and Ends
  • Colophon
From the B&N Reads Blog

Customer Reviews