CSE399: C++

Spring 2008
Instructor: Drew Hilton (adhilton@cis.upenn.edu)
Office hours: Tuesday, 3:00-4:00 PM. Wednesday 1:30-2:30 PM. Levine 614. Or by appointment.
(Note, there are two doors- mine is on the side by the little lobby area- I may move out to the lobby area to avoid disturbing office mates).
Class Location: Towne 321
Class Time: Wednesday 12-1
TAs:Gaurav Shah (gauravsh@seas.upenn.edu) Office hours: Moore 102 (DSL) 4-5 on Thursdays.

The course syllabus can be downloaded here.

Announcements


Resources

Here are some resources for you to use:

Homeworks

Homeworks may be done in pairs, as long as both partners participate in the learning experience. You must document who you worked with and in what manner in a comment in the source code you submit.

Homework 1 is due Wednesday, January 30th.
These source files go with it (they are also linked in the homework description): Homework 2 is due Wed Feb 6th at noon. (Solutions)
Homework 3 is due Wed Feb 20th at noon (Solutions)
Homework 4 is due Wed March 5th at noon

Slides

  1. Policies and intro to C
  2. Datatypes and pointers
  3. This week we wont have slides, I'll be demonstrating gdb. Here is a quick reference of what we will cover. Additionally the example (buggy) code I used in class to demonstrate is available: debugMe.c watchMe.c watchMe2.c spaceBug.c
  4. Loose ends in C, start of C++
  5. More C++: templates, references, C++ IO etc
  6. Inheritance
  7. Copy constructors, references
  8. STL and OO design
  9. Comments about the exam, Make (by request), wrap-up

About the exam

The exams are graded. Here are some stats: Specific comments about questions: I will hand your exams back in class next week.

Project Signups

The table below shows the slots which have already been signed up for. Project signups will be done by e-mail. First come, first serve. You are encouraged to send your first three or so choices, so that if one has filled up before I get to your e-mail, I can try to give you one of your other choices without e-mailing you back and forth.
Time  Monday    Wednesday  Friday 
12:00-12:10 GK TC
12:10-12:20 LS XL
12:20-12:30 DCTS
12:30-12:40 RFAM
12:40-12:50 IH AV
12:50-1:00 MW SR