Thank you both!
What part of the headerfile should be in the .cpp to make it work properly. I know how to call the class from main directly. But I want it to be a proper class with full .h and .cpp.
And, yes I will study classes more. This is part of it, I am trying to get an example of how it works with a little more complicated headerfile.
Again, thanks!