I want to create a Math class with some special functions in it. So far I have created this class and then inherited it into each class that needs to use it.
I think there must be a better way, and I seem to recall reading about it some time ago. I would prefer not to have to instantiate the class, but rather use it similarly to the "cout" function.
I can't remember if it needs to be declared as a static class, but I have been battling to find how to do it.
Basically, I would like to simply include the header file for my Math class and then use it.