Csit Notes

Object Oriented Programming (CSC166)

Concepts of classes, objects, inheritance, and polymorphism, typically implemented in C++.

  • CSC166
  • Core Course
Start chapter 1

Chapters

  1. 1Introduction to Object Oriented ProgrammingOverview of structured programming approach, Object oriented programming approach, Characteristics of object oriented languages. · 8 pages
  2. 2Basics of C++ programmingC++ Program Structure, Character Set and Tokens, Data Type, Type Conversion, Preprocessor Directives, Namespace, Input/Output Streams and Manipulators, Dynamic Memory Allocation with new and delete. · 26 pages
  3. 3Classes & ObjectsA Simple Class and Object, Accessing members of class, Initialization of class objects: (Constructor, Destructor), Default Constructor, Parameterized Constructor, Copy Constructor. · 28 pages
  4. 4Operator OverloadingFundamental of operator overloading, Restriction on operator overloading, Operator functions as a class members, Overloading unary and binary operator, Data Conversion (basic to basic. · 12 pages
  5. 5InheritanceIntroduction to inheritance, Derived Class and Base Class, Access Specifiers (private, protected, and public), Types of inheritance, Public and Private Inheritance. · 23 pages
  6. 6Virtual Function, Polymorphism, and miscellaneous C++ FeaturesConcept of Virtual functions, Late Binding, Abstract class and pure virtual functions, Virtual Destructors, Virtual base class, Friend function and Static function, Assignment and copy initialization. · 12 pages
  7. 7Function Templates and Exception HandlingFunction templates, Function templates with multiple arguments, Class templates, templates and inheritance, Exceptional Handling (Try, throw and catch), Use of exceptional handling. · 10 pages
  8. 8File handlingStream Class Hierarchy for Console Input /Output, Unformatted Input /Output, Formatted Input /Output with ios Member functions, Formatting with Manipulators, Stream Operator Overloading. · 14 pages