I get a weird response from my c++ compiler. I searched the internet but came up with nothing usefull or helpfull...
Compiler Response:
HexFloatingPoint
is derived from FloatingPoint
, but you don't call any of FloatingPoint
's constructors in the initialiser list in HexFloatingPoint
's constructor. This means the default (no-parameter) constructor of FloatingPoint
gets called, but the class doesn't define it, so you get the error.
Either call a constructor of FloatingPoint
in HexFloatingPoint
's initialiser list, or give FloatingPoint
a default constructor.