Here is the sample code shown recently in class for the Card and Solitaire classes. I have modified this code slightly from the previous "released" version. The code below compiles and executes the command dispatch logic. I have a simple Makefile for you and have modified the string class (cstring.h, string.cc) to eliminate the irritating warnings that it was producing. Enjoy...
This code has been compiled and tested on acme with g++. The code includes the fix to the compiler bug that Card.cc was encountering. (See the newsgroup for details.)