Yale Computer Science Department
CPSC 427: Object-Oriented Programming

Michael J. Fischer

Lecture Notes, Fall 2010
 
CS Department CS Courses M. Fischer Home M. Fischer Email
Course Home Page
Syllabus
Handouts
Lecture Notes
Resources
Old Announcements

<< Back

Links to lecture notes:

I will post lecture notes here, time permitting. These should be understood to be in rough form and will not always correspond exactly to what is covered in class. Nevertheless, I hope you will find them useful as a study guide when used in conjunction with your textbook and other course materials.
  1. 2 Sep.: Lecture 1 (.pdf).

  2. 7 Sep.: Lecture 2 (.pdf).

    Demos:
    02-InsertionSortC
    02-InsertionSortCpp
  3. 9 Sep.: Lecture 3 (.pdf).

  4. 14 Sep.: Lecture 4 (.pdf).

  5. 16 Sep.: Lecture 5 (.pdf).

    Demos:
    05-IOdemo
    05-IOdemo-new
    05-BracketsC
    05-BracketsCpp
  6. 21 Sep.: Lecture 6 (.pdf).

  7. 23 Sep.: Lecture 7 (.pdf).

    Demo:
    07-BarGraph
  8. 28 Sep.: Lecture 8 (.pdf).

  9. 30 Sep.: Lecture 9 (.pdf).

  10. 5 Oct.: Lecture 10 (.pdf).

    Demo:
    10-Craps-extended
  11. 7 Oct.: Lecture 11 (.pdf).

    12 Oct.: Review

    14 Oct.: Hour exam

  12. 19 Oct.: Lecture 12 (.pdf).

    Demos:
    12-StopWatch Unix/Darwin version
    12-StopWatch-hirez Hi-resolution (linux)
  13. 21 Oct.: Lecture 13 (.pdf).

    Demos:
    13-Hangman Basic code
    13-Hangman-full Refactored code
  14. 26 Oct.: Lecture 14 (.pdf).

  15. 28 Oct.: Lecture 15 (.pdf).

    Demos:
    15a-Virtue Virtual functions in derivation hierarchy
    15b-Virtual Container interface and implementations
    15c-Evaluate Infix expression evaluator
  16. 2 Nov.: Lecture 16 (.pdf).

    Demos:
    16-Multiple Multiple inheritance for ordered lists
    16-Multiple-template Templatized version of 16-Multiple
  17. 4 Nov.: Lecture 17 (.pdf).

    Demo:
    17-STL Vectors and maps
  18. 9 Nov.: Lecture 18 (.pdf).

    Demo:
    18-Dynamic_cast Use of dynamic cast
  19. 11 Nov.: Lecture 19 (.pdf).

    Demo:
    19a-Exceptions User exceptions demo
    19b-Exceptions Exceptions with template stack class
  20. 16 Nov.: Lecture 20 (.pdf).

    Demo:
    20a-Exceptions Exceptions with recovery
    20b-Strategy Duck pond example
  21. 18 Nov.: Lecture 21 (.pdf).

    Demo:
    21a-Factory Factory design pattern
    21b-Singleton Singleton design pattern
  22. 30 Nov.: Lecture 22 (.pdf).

    Demo:
    22-Clock Clock gtkmm demo

Comments about this website should be directed to M. Fischer