Memory as a Programming Concept in C and C++ and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading Memory as a Programming Concept in C and C++ on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Memory as a Programming Concept in C and C++ [Paperback]

Frantisek Franek
3.5 out of 5 stars  See all reviews (4 customer reviews)
Price: £31.99 & FREE Delivery in the UK. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Thursday, 25 Sep.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £24.82  
Hardcover £78.02  
Paperback £31.99  

Book Description

17 Nov 2003 0521520436 978-0521520430
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 2004 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.

Product details

  • Paperback: 276 pages
  • Publisher: Cambridge University Press (17 Nov 2003)
  • Language: English
  • ISBN-10: 0521520436
  • ISBN-13: 978-0521520430
  • Product Dimensions: 23 x 15 x 1 cm
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 1,286,041 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Book Description

This 2004 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. Describes the techniques and tools to deal with the problems related to memory and its effective use, assuming only a basic knowledge of C or C++.

Inside This Book (Learn More)
First Sentence
The motivation for this book came from years of observing computer science students at universities as well as professional programmers working in software development. Read the first page
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

Most Helpful Customer Reviews
4.0 out of 5 stars Dry but informative 5 Jun 2013
Format:Paperback|Verified Purchase
As the book states in its introduction, this info. is often left out of courses that teach programming, thus many programmers don't know what's happening when they type 'new...' or 'global' - this is particularly important if you are writing high performance/low level code, such as C, C++ realtime/games/simulation or using a technology like asm.js
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Fear no more ! 15 May 2013
Format:Paperback|Verified Purchase
If someones primary need is to clear up all missunderstandings and fears of how to effectively use computer's memory while coding in C or C++ , then this is the book. Although the typographic layout of the book is less than atractive for reading, the content compensates for that. It is one of the very few books on this crucial programming issue that explains in great detail all intricacies, loopholes and traps that one has to deal with when needs to talk with real silicon, memory locations, through his/her code. The many code examples that accompany the text leave no place for ambiguities. Even if you consider yourself a pro-C-programmer, certain issues of memory management and the way that are tackled in this book will leave you impressed at least.
John Piliounis, Physicist, Athens, Greece
Comment | 
Was this review helpful to you?
3.0 out of 5 stars The dead tree version is full of errors too 17 May 2012
By Mike
This book should be useful to high-level programmers that want to learn more about how memory management works or C/C++ programmers that want to expand their understanding in the area. The book is written in a fairly accessible way, and can be read in a couple of weeks. While I found it interesting, and learnt several new things in the process, I was a bit dissapointed with the quality - especially considering the high asking price. The mistakes are wide ranging, from minor inaccuracies to formatting errors to code examples that look as if they have been gutted from a more complex program and left with unnecessary bits that detract from what the author is trying to demonstrate. I enjoyed reading this book, but I don't think it would be worth the asking price without revision.
Comment | 
Was this review helpful to you?
2.0 out of 5 stars Come on publishers you must try harder. 16 Jun 2011
Format:Kindle Edition
Firstly I would like to say this score is in no way based on the technical content as the book gives an excellent coverage of memory concepts and fills in many gaps that university computing courses tend to ignore outright or skip over very briefly.

The problem comes with the kindle version of this book, publishers need to realise that kindle books need just as much quality control as their print books. The current trend of just scanning the thing in and hoping for the best needs to stop. Function names in the text are split up with random spaces. I know it doesn't take alot of brain power to work out what ma llo c() is meant to mean having it happen on almost every page is just sloppy.

Now i haven't got a print copy to compare but certain code samples are just plain wrong, the scan process seems to get confused between the letters a and s in particular so code that includes the variables a and s, becomes nonsensical, and an exercise in trying to second guess some dodgy OCR software.

So in summary great content shame about the quality of the end product.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.1 out of 5 stars  14 reviews
9 of 9 people found the following review helpful
4.0 out of 5 stars This book should be made an optional reading for in undergraduate computer science student 18 Aug 2006
By Rongkai Zhao - Published on
Format:Paperback|Verified Purchase
I agree with the other reviewers. In general this is good book. It bridges the gaps between many computer science disciplines. Especially OS and programming language. It also touched a little bit on computer architecture and linking process. The text was written in a a very clear way. However, I do have two complains. The author didn't spend enough effort on the relatively more complex and advanced topics. Eg, linking process for C++, advanced topics in memory leakage detection and prevention. On the other hand, author spent too much energy describing linked data structure in terms of serialization. I personally don't think its relevance is higher than the advanced memory leakage issues. For seasoned profressionals, this book can be used to refresh your knowledge. It is a beginner level to intermediate level book.
8 of 9 people found the following review helpful
4.0 out of 5 stars Another book that will be helpful 2 Oct 2006
By Jimbo T. - Published on
An older book that could be helpful to readers interested in this book is "Inside the C++ Object Model" by Stanley B. Lippman. It was written in 1996. It shows things such as the layout of C++'s organization of (pointers to) virtual and inherited methods.
12 of 17 people found the following review helpful
5.0 out of 5 stars A Useful & Innovative Book 29 Feb 2004
By A Customer - Published on
The viewpoint adopted by this book is an original one, while the insights range from the elementary to the very advanced. The material is well organized, the writing style is excellent, there are numerous examples and exercises. In a world dominated by C/C++ programming, it is a book that I think every professional programmer/computer scientist/software engineer could read with profit.
6 of 9 people found the following review helpful
4.0 out of 5 stars Great book 13 April 2007
By Scott Shell - Published on
First I would like to state the reason I gave it 4 stars. In my opinion, 5 stars should be very hard to reach. Maybe I would give this 4.5 stars if it was possible. Anyway, I'm a self taught VB 6 programmer with a working knowledge of the Windows API. First year CS student, though I've read many a book on C and a few on assembly. I have a large CS library and this is the first book of it's kind that I've found. It is a little pricey if you compare book size to other, larger CS books, but I don't think it is overpriced. The material is great, though I wouldn't say it is a beginner level book. I had trouble grasping enough of the material that it causes me to think either I've still got a long ways to go in learning (more so than I thought at least), or it is just not for the beginner.

I would recommend this book to anyone who is serious about a programming career, regardless of the language. The book's relatively small size should not be a negative factor. It is not densely packed with information to the point where interpretation is needed, instead it explains in sufficient detail without dumbing it down by over-repetition and such used by some other CS books. It is aimed at C/C++ programmers, so being familiar with those is a prerequisite, obviously. Like another reviewer said, there seemed to be a little too much discussion on, say, serialization of linked data structures, an important topic with regards to memory yet I felt a little more emphasis could have been placed elsewhere.
5.0 out of 5 stars One of the best books i ve read on the subject 2 April 2013
By A. Tavoularis - Published on
Format:Paperback|Verified Purchase
Gices great examples on how to use the memory but also describes the rationale behind it. Recommended book for programmers.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category