Lecture 13: Tuesday, May 15
Lecture Code
Optional Reading

Chapter 10 covers operator overloading.


Lecture 12: Thursday, May 10
Slides
Lecture Code
Optional Reading

Chapter 9 covers both template classes and using const.


Lecture 11: Tuesday, May 8
Slides
  • (no slides for this lecture)
Lecture Code
Optional Reading

Chapter 9 covers both template classes and using const (const will be covered next lecture).


Lecture 10: Thursday, May 3
Lecture Code
Optional Reading

The course reader has an excellent, thorough treatment of class abstractions in Chapter 8. Please note that the reading goes significantly more into detail than I do in lecture.


Lecture 9: Tuesday, May 1
Slides
Lecture Code
Optional Reading

Check out Boost's website for detailed information about its libraries, as well as instructions for downloading Boost.


Lecture 8: Thursday, April 26
Lecture Code
Optional Reading

There are no readings relating directly to template functions. There will be readings for template classes, however, which we will cover soon.


Lecture 7: Tuesday, April 24
Slides
  • (no slides for this lecture)
Lecture Code
Optional Reading

There are no new readings. STL algorithms are covered by Chapter 7 in the course reader.


Lecture 6: Thursday, April 19
Lecture Code
Optional Reading

STL algorithms are covered by Chapter 7 in the course reader.


Lecture 5: Tuesday, April 17
Lecture Code
Optional Reading

There are no new readings. The STL associative containers and the STL iterators are covered by Chapter 6 in the course reader.


Lecture 4: Thursday, April 12
Lecture Code
Optional Reading

STL associative containers and STL iterators are covered by Chapter 6 in the course reader.


Lecture 3: Tuesday, April 10
Lecture Code
Optional Reading

Here is a quick reference comparing the STL containers we talked about in class to their CS 106B/X counterparts. Chapter 5 covers the STL sequence containers.


Lecture 2: Thursday, April 5
Lecture Code
Optional Reading

Chapter 3 covers all of streams, including the material we talked about both on Tuesday and Thursday.


Lecture 1: Tuesday, April 3
Lecture Code
Optional Reading

Chapter 0 provides a brief overview of the C++ language. Chapter 1 walks through how to set up your development environment based on if you're running Windows, Mac OS X, or Linux.

Chapter 2 explains what "using namespace std;" means, as well as why we don't see "genlib.h" in our programs. Chapter 3 covers all of the streams topics we will be covering this week, including what's in Lecture 2.