Ok, I don't use the append method so I'll have to take a look at it to see what it is doing.
As far as the typo, just make sure you delete the .o file after you have modified and saved the .cpp and .h files. The IDE will re-compile the files and re-create the .o file and that should take care of that issue.
Thanks
John