#include "CubeClass.h" // Computer, I told you what a Cube is in CubeClass.h Cube::Cube(double h, double w, double d) { // I mentioned that I wanted a constructor. Here is how it works. height = h; // When a Cube is instantiated, it needs a h, w, d. width = w; // As soon as a Cube is created, set it's private height, width, depth depth = d; // variables to whatever h, w, and d are. } double Cube::volume() const { // I mentioned that a Cube can be asked what it's own volume is. return height * width * depth; }