CIS 22B - Notes for Thursday, 10/29

Announcements and Reminders

C++ Classes

Terminology

  • class definition, declaration
  • members
    • data members, characteristics
    • member functions, methods, messages, behaviors
  • access specifier
    • public
    • private
    • protected
  • (member) function defintion
  • scope resolution operator
  • declaring an object
  • calling a member function
    • calling a member function with a dot operator
    • calling a member function with an arrow operator
  • inline function
    • implicit inline function
    • explict inline function
  • const member function
  • instantiation
  • object

Examples


Videos