c++ sample from my numericum class