I ran it fine by just commenting out the line #include "geometry.h". If you want to set up the program using typical C++ file organization principals, you would put the class declaration at top in the geometry.h header file (remove it from this one) and then your include geometry.h would be ok.