Okay so Im getting a compile error when I declare the the PersonNode function. The error is "expected constructor, destructor, or type conversion before '*' token." I'm not sure what the problem is as I have just copied the code right out of the book.
move the struct PersonNode declearation part before the line u'r getting error. compiler has not seen this declaration when ur error line gets executed.