I&C SCI 45C Study Guide - Final Guide: Duplicate Code, Virtual Function, Compile Time
Document Summary
Well-behaved classes: manage their own memory, clean up memory when they die, can be copied (passed by value, changes to copy will not change original, can be const and be read and not written to. Linked data structures: head is node pointer. Unit testing static - which, when used in a class, specifies something that is a member of the class as a whole, as opposed to being a member of each object of the class. Standard library is split into three parts: containers, generic algorithms, and iterators. Oop is characterized by three main features: classes, ability to describe new kinds of objects that have operations. Override specifier: virtual void foo() override, don"t need it but makes code readable, compiler will check your intent, you mark a member function with override, but that member function was never declared virtual - compiler error.