Constructors with Inheritance
// the private real and imaginary components of the complex
float p_real, p_imaginary;
// a constructor which takes one argument: sets the real part, and
// makes the imaginary part 0
complex(float r) { p_real = r; p_imaginary = 0.0; }
// a constructor which takes two arguments: real and imaginary parts
complex(float r, float i) {p_real = r, p_imaginary = i; }
class imaginary : complex {
// IMPORTANT NOTE: Constructors are NOT inherited from base classes
imaginary a; // What is the problem with this code????