Download Pointers and Memory – C++ Lecture Notes


Surfing and searching for really useful study materials for computer science students, I ramble here and there, most often. This time I was looking for C++ refreshing courses.

There are vast amount of materials, easy enough to tangle your feet, available in Internet for the topic you wish to learn. Mostly the websites of universities worth if you are college student and seeking for the content that match your standard.

Today, I offer a download of C++ Lecture Notes – Pointers and Memory written by Nick Parlante and published on CS Education Library. This eBook covers the topics pointers, local memory, allocation, deallocation, dereference operations, pointer assignment, deep vs. shallow copies, the ampersand operator (&),  bad pointers, the NULL pointer, value parameters, reference parameters, heap allocation and deallocation, memory ownership models, and memory leaks. The text focuses on pointers any memory in compiled languages like C and C++. At the end of each section, there is some related but operational material, and in particular there are occasional notes on other languages, such as Java.

Contents

Section 1: Basic Pointers

The basic rules and drawings for pointers: pointers, pointees, pointer assignment, pointer comparison, the ampersand operator, the NULL pointer, bad pointers, and the bad dereferences.

Section 2: Local Memory

How local variables and parameters work: local storage, allocation, deallocation, the ampersand bug. Understanding the separation of local memory between separate function.

Section 3: Reference Parameters

Combines the previous two sections to show how a function can use reference parameters to communicate back to its caller

Section 4: Heap Memory

Builds on all the previous section to explain dynamic heap memory: heap; allocation, heap deallocation, array allocation, memory ownership models and memory leaks.

Download

Well if you are interested to download this eBook, just send an email as following:

To: shkhanal@gmail.com

SUBJECT: pointers-and-memory-eBook

The email response is automated, so, you will instantly receive a reply email back from us with the eBook ‘Pointers and Memory’. All is required is just correct TO address and SUBJECT  line.

 

eBook Details

File Name: PointersAndMemory.pdf

File Size: 61.6 KB (64 KB disk size)

Number of Pages: 31

Happy Learning!

Tagged As: , , , , , , ,

4 Responses to “Download Pointers and Memory – C++ Lecture Notes”

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Review this blog on Bloggers.com