These are a bit sketchy...I'll fill in more later...


Original

This is what was there at the end of last semester.

Already note the use of templates on the menu system!


Step One

First an upgrade to namespaces and new-style header names.


Step Two

Alter process_compar to extract some duplication.


Step Three

Alter process_compar to extract remaining duplication.


Left to the Reader

Other modifications such as templatizing read_str, etc.