Memory as a Programming Concept in C and C++

by
Format: Paperback
Pub. Date: 2003-11-17
Publisher(s): Cambridge University Press
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $52.49

Buy New

Arriving Soon. Will ship when available.
$49.99

Rent Textbook

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$64.79
$64.79

Used Textbook

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

The overwhelming majority of bugs and crashes in computer programming stem from problems of memory access, allocation, or deallocation. Such memory related errors are also notoriously difficult to debug. Yet the role that memory plays in C and C++ programming is a subject often overlooked in courses and in books because it requires specialised knowledge of operating systems, compilers, computer architecture in addition to a familiarity with the languages themselves. Most professional programmers learn entirely through experience of the trouble it causes. This book provides students and professional programmers with a concise yet comprehensive view of the role memory plays in all aspects of programming and program behaviour. Assuming only a basic familiarity with C or C++, the author describes the techniques, methods, and tools available to deal with the problems related to memory and its effective use.

Table of Contents

Acknowledgments ix
Introduction
1(6)
From Source File to Executable File
7(14)
Variables and Objects; Pointers and Addresses
21(24)
Dynamic Allocation and Deallocation of Memory
45(14)
Functions and Function Calls
59(22)
One-Dimensional Arrays and Strings
81(16)
Multi-Dimensional Arrays
97(9)
Classes and Objects
106(26)
Linked Data Structures
132(27)
Memory Leaks and Their Debugging
159(28)
Programs in Execution: Processes and Threads
187(23)
A Hanoi Towers Puzzle 210(6)
B Tracing Objects in C++ 216(11)
C Tracing Objects and Memory in C++ 227(7)
D Thread-Safe and Process-Safe Reporting and Logging Functions 234(5)
Glossary 239(16)
Index 255

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.