Enter your Sign-on user name and password.

Forgot password?
  • Follow us on:
Loading video...

Start Learning Now

Our free lessons will get you started (Flash® 10 required).
Get immediate access to our entire library.

Sign up for Educator.com

Features Overview

  • Get on-demand access to our complete library
  • Search and jump to exactly what you need to learn
  • Track your progress
  • Download practice and lesson files
  • *Ask questions and get answers from our community & instructors

Object Oriented Programming

  • Procedural programming methods have been shown up to now
  • One strength of C++ over C is the ability to implement Object Oriented Programming (OOP) techniques
  • “Object” is a collection of data (attributes) that describe the object, and functions (methods) that operate on that data
  • Object “class” defines the workings of an object, its attributes (data) and methods (functions)
  • Object Oriented Programming emphasizes important concepts: Abstraction, Encapsulation, Inheritance and Polymorphism
  • Classes can “inherit” attributes and behaviors from other classes
  • C++ has “multiple inheritance” which allows a class to inherit from more than one other class
  • Objects are “constructed” and “destructed” to allocate and de-allocate memory
  • Here are links with more discussion about OOP in C++: http://www.cplusplus.com/doc/tutorial/classes/ http://www.cplusplus.com/doc/tutorial/inheritance/

Object Oriented Programming

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

Computer Science: Introduction to C++