They are created. The compiling problem isn't with the functions, but with the data members, faults and horizons.

1>.\Canvas.cpp(74) : error C2065: 'faults' : undeclared identifier
1>.\Canvas.cpp(78) : error C2065: 'horizons' : undeclared identifier