Create a class with 3 floats. Add a constructor that accepts 3 floats to set those variables. To create a cube, create a Vector3D for each point on the cube (hint: a cube needs a minimum of 8 points). You need to know how to use 3D points (hint: x, y, z). You seem to be a beginner, so here are some keywords to use when you google how to do all this:
c++ class
c++ constructor
c++ class variable
c++ class instance
c++ beginner tutorial
c++ console application
c++ float
c++ double