You are viewing content intended for a different location. This may affect your ability to shop online.

Our systems are now restored following recent technical disruption, and we’re working hard to catch up on publishing. We apologise for the inconvenience caused. Find out more

Recommended product

Popular links

Popular links


Memory as a Programming Concept in C and C++

Memory as a Programming Concept in C and C++

Memory as a Programming Concept in C and C++

Author:
Frantisek Franek, McMaster University, Ontario
Published:
November 2003
Availability:
Available
Format:
Paperback
ISBN:
9780521520430

Looking for an examination copy?

If you are interested in the title for your course we can consider offering an examination copy. To register your interest please contact collegesales@cambridge.org providing details of the course you are teaching.

    Assuming readers have a basic familiarity with C or C++, Frantisek Franek describes the techniques, methods and tools available to develop effective memory usage. The overwhelming majority of "bugs" and crashes in computer programming stem from problems of memory access, allocation, or deallocation. Such memory related errors are notoriously difficult to resolve. Moreover, the role that memory plays in C and C++ programming is a subject often overlooked in courses and in books. Most professional programmers learn about it entirely through actual experience of the problems it causes.

    • Builds a coherent picture of memory role in C/C++ programs not found in any other single book
    • Deals with issues that can lead to expensive and hard to debug errors
    • Describes many subtle yet crucial aspects of memory handling such as constructors and destructors, and operators new and delete in C++

    Product details

    • Published: November 2003
    • Format: Paperback
    • ISBN: 9780521520430
    • Length: 276 pages
    • Dimensions: 228 × 151 × 14 mm
    • Weight: 0.365kg
    • Availability: Available

    Table of Contents

    • 1. Introduction
    • 2. From source file to executable file
    • 3. Variables and objects, pointers and addresses
    • 4. Dynamic allocation and deallocation of memory
    • 5. Functions and function calls
    • 6. One-dimensional arrays and strings
    • 7. Multi-dimensional arrays
    • 8. Classes and objects
    • 9. Linked data structures
    • 10. Memory leaks and their debugging
    • 11. Programs in execution - processes and threads.

    Author

    Frantisek Franek , McMaster University, Ontario