Following along with the code from Object-Oriented Programming with ANSI-C