Learning cplusplus by trial and error... not going so well.