Week 11

OOP

  • OOP, ADT, Encapsulation, Data Hiding, Interface
  • Member Functions
  • Passing an object as a function argument
  • Returning an Object from a function

Introduction to Class Definitions

  • Comparison / Differences of class vs a structure
  • Access Specifiers: private, public, protected
  • Member Functions: Accessors, Mutators
  • ScopeResolution::operator
  • Default Constructor
  • Constructors
  • Destructor

Introduction to Pointers

int x = 3; int *ptr = &x;
pointer declaration, pointer initialization, dereferencing a pointer, pointer arithmetic.
Pointer to a cstring. Pointer to an object.