Things to think about when designing your programs.

Garrett Mitchener

This document is a collection of quick and not-so-quick design questions that come up when students start to learn C++ and object oriented design. Read and think!


Table of Contents
1. General Hints
Don't be afraid to write small classes
2. User Interfaces
Error handling
3. Input, output, and parsing
Streams have limited putback ability
4. Using the Standard Template Library
Don't pass containers around by value
Making function objects work with inheritance.
Sorting with STL
5. Hints on a few assignments
File processing
Hints for the Scandir assignment