This page has some vague guesses / notes for the Final exam. For me. Which means there could be misunderstandings, bilge, and things missing. If you see something incorrect, please let me know!
Blocks of Working Example Code: Terms: inheritance.cpp friend.cpp polymorph.cpp namespace.cpp abstract.cpp Imaginary Number Class: complex.cpp Random Blocks of Code: strtok.cpp catch_try.cpp data_input.cpp Random Things to Know: ABSTRACT CLASS = any class with a pure virtual function POLYMORPHISM = a pointer or reference to a base class type that determines what type object is being referred to while the program is running. NAMESPACES = code to group declarations to prevent name conflicts INHERITANCE = create hierarchial relationships between objects, allowing child (derived) class to use data/functions from parent(base) class. * private = visible only in the class and friends * public = visible in subclasses and clients * protected = visible in the class and subclasses, but not clients FRIEND = gives an outside class access to a class's protected and private members ENCAPSULATION = hiding data within a class ========================================================= Module 2: Pointers, Arrays, and Strings Module 3: Data Abstraction Module 4: Using Operator Overloading Course objectives: # classes, constructors, destructors, operator overloading, and function overloading # understand the fundamental concepts of data abstraction # understand the mechanism of pointers and C++ references # build a recursive function # use dynamic memory allocation to build linked-list and dynamic resized arrays # differentiate C and C++ from both a historical and functional perspective # understand how C++ may be applied too ad variety of disciplines operator overloading,polymorphism(late binding) data abstraction using classes, and operator overloading Polymorphism,class inheritance,virtual functions 1)Polymorphism 2)Inheritance 3)Classes and Namespaces 4)Virtual functions Class provided links: http://www.zib.de/Visual/people/mueller/Course/Tutorial/node9.html#SECTION00921000000000000000 http://www.codersource.net/cpp_tutorial_inheritance.html http://www.cs.wustl.edu/~schmidt/PDF/C++-overview4.pdf