Rethinking how to teach C++--part 7: Payback time

Koenig, Andrew

Rethinking how to teach C++--part 7: Payback time

The usual way to implement data structures that refer to elements of other data structures is by using pointers, and we haven't talked about these yet. Indeed, Accelerated C++ won't talk about pointers for another 68 pages. Nevertheless, we have enough intellectual ammunition to solve this space problem without pointers, using data structures that refer to other data structures, and in a way we think is every bit as compact and efficient as it would be if we were to use pointers


TEACHING
Methods
LANGUAGE C++

H004.415 JOU