Comp 272 - Data Abstraction and OOP - Dordal

Spring 2005, 11:30-12:20, meeting in 25EP-L09.

Text: Cay Horstmann, Practical Object-Oriented Development in C++ and Java, Prentice-Hall 1999. Note that this text is out of print, but the bookstore should have enough used copies. Additional copies can be found on the internet.

Teaching Assistant: Nilanjan Podder, Mon 4:30-6:30, Fri 12:30-2:00

Grades: There will be a midterm and a final. The midterm was Wednesday, March 2. The final will be Friday, May 13, at 8:30 am, the time listed in the schedule, in our usual room. A study guide is below. There will also be various programming assignments, and possibly some written exercises. Programming will be in C++.

My general course groundrules are here. Exams will count for between 70% to 80% of your grade, with homework and programs making up the rest.


Course goals: Note the final one is the least important!

Here is a study guide for the final exam.
Answers are here.

Here is the study guide for the midterm exam. Answers are here.

My ongoing (but sometimes sketchy) class notes are here.

Programming assignments:
 
Assignment Due date main file aux files needed, etc
MyDate Friday, Feb 11 mydate.cpp original mydate.cpp, advance1day.cpp
voicemail Friday, Feb 25 mail05.cpp original version of mail.cpp
shapes Wednesday, Mar 30 shapes.cpp graphics.h, graphics.cpp
game Friday, Apr 22 game.cpp sent.cpp, sent.h, list.h
string2 Friday, May 6 T_array.cpp grow.cpp


some demo programs from class:


Building an empty Visual C++ project

To build a new Visual C++ project with support for console I/O and without Microsoft's annoying stdafx files, do the following:

Alternatively, here are the files needed for a simple project:

Copy all four of them into an empty directory, open hello.sln, and edit it into whatever you need. (It is possible, however, that unbeknownst to me one of these files contains references to my particular machine/configuration, and won't work for you.)

Notes on getting Visual C++

Microsoft Visual C++ .net (vc++ version 7) is available to Loyola CS students under the terms of the Microsoft Academic Alliance: you are allowed to download and permanently install the software, though you cannot keep getting updates after you leave Loyola.

To get the software, mount \\turing.math.luc.edu\msdnaa, and then copy the file en_vs.net_2003_pro_full.exe. This is about 560MB. Running this should install what you need; you should not need anything in the "net" folder, and you should not need a license key. Contact me if you seem to need something not mentioned here.

At the current time, ftp access is not available. However, I will try to get some loaner CDs. Alternatively you can come into Loyola to burn your own cd.