C++

Moving From C to C++

C++ can be seen as two programming languages combined. First, C++ is a superset of the C programming language. Second, C++ embodies a new programming paradigm called Object Oriented Programming (OOP). C++ adds features to C that support OOP concepts.

This course teaches C programmers to program in C++ in three steps.

  1. shows the features of C++ that make it a "better C."
  2. demonstrates how to define new data types, called classes
  3. covers C++'s object oriented programming features.

Objectives

  • Read and understand programs written in C++.
  • Define new data types using C++ classes.
  • Use C++'s iostreams system.
  • Define overloaded functions.
  • Use class constructors, operators, and destructors correctly.
  • Define new data types using inheritance.
  • Use virtual functions within a class hierarchy.
  • Create extensible containers using templates.
  • Handle run-time errors using exceptions.

    Approach

    The course is taught as a combination of lecture, in-class exercises, and hands-on programming experience. Each student receives a 300 page course manual that includes course notes, section summaries, exercises, addenda, and important C++ points.

    Audience

    This course assumes that students have a clear understanding of the C programming language. This course would not be appropriate for someone who is new to C or has only a cursory understanding of C.

    Topics


    Copyright © 2020

    Dan Keller Technical Services
    2248 International Blvd., Oakland
    California, USA 94606
    tel: 415 / 861-4500