A static method belongs to the class itself and a non-static (aka instance) method belongs to each object that is generated from that class. If your method does something that doesn't depend on the … The answer to the question of how you call an instance method from a static method is that you can't without passing an instance in as an argument or instantiating that instance inside the static method.

I am doing this: Class mymath { public: Static myobject calcsomething(void); How will i be able to do something similar with static methods? In short i would like to call all the run methods from all the static classes that are in the namespace mysolution. macros.

In short i would like to call all the run methods from all the static classes that are in the namespace mysolution. macros.