ECE 30862 Object Oriented Programming C++ and Java

The syllabus can be found here: Syllabus.pdf.

Homework, homework solutions, the syllabus and lectures can be found on the course Piazza page.

Old exams and topics for this exam can be found at the test page.

Tools and IDEs

Strictly speaking, use of the IDEs is not required and is not a course outcome. Having said that, mastering one or more IDEs will make you a more productive pro grammer, should make the second half of the course easier, and may be a big plus when interviewing

Eclipse

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).

Tricks

Something similar to instanceof in Java

This example is from Microsoft.


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

class Base {
public:
    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