CS183: Software Design



->Courses
->CS183
-->Homework
->Examples
-->Quiz 1
-->Lab 1
-->Lab 2
-->Project 1
-->Project 2
->Electronic Submission
->MSVC++ Info
->STL Info
->MFC/GUI Info
->Tentative Schedule
->Course Policies

[Courses]
[Rich][Home][Rich]
[PHome]

Spring Quarter 2001

Here are a number of examples that you may wish to study. Please let me know if you have any questions or comments about them. I am particularly interested in learning about any mistakes that I may have made.

Simple Class

  • A simple Date class

Dynamic Memory Allocation

  • String -- A simplified version of the C++ ANSI standard string class
  • VectorI -- A simplified version of the STL vector class that holds integers

Inheritance

  • Folder -- A collection of three classes: TextDoc, Folder, and SuperFolder that illustrates class inheritance

Templated Class

  • Vector -- A simplified version of the STL vector class that holds arbitrary objects

Polymorphism

UML

  • UML -- An example of a UML diagram to describe three classes and their relationships to each other
© 2000-2001 Dr. Christopher C. Taylor Office: CC-27C Phone: 277-7339 Last Updated: May 1, 2001
I am responsible for all content posted on these pages; MSOE is welcome to share these opinions but may not want to.