ECE 30862 Object Oriented Programming C++ and Java

The syllabus is available here.

Office hours as of 9/26.

Days class will not be held

Index to different sections of the web page.

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

Week 7

Week 8

Week 9

Week 11

Week 12

Microsoft Visual Studio

If you are already familiar with something like Visual Studio for C++ from Microsoft you may use this in this course.

Visual Studio is available in MSEE 119 and can be used for Individual Project 2 (the GUI project).


Something similar to instanceof in Java

This example is from Microsoft.

// expre_typeid_Operator.cpp
// compile with: /GR /EHsc

class Base {
    virtual void vvfunc() {}

class Derived : public Base {};

using namespace std;
    int main()
        Derived* pd = new Derived;
        Base* pb = pd;
        cout << typeid( pb ).name() << endl; //prints "class Base *"
        cout << typeid( *pb ).name() << endl; //prints "class Derived"
        cout << typeid( pd ).name() << endl; //prints "class Derived *"
        cout << typeid( *pd ).name() << endl; //prints "class Derived"
        delete pd;

Optional readings and other sources you might find interesting or useful