the name says it all
can you build a function inside a class and then initiate it from main or another location?
the name says it all
can you build a function inside a class and then initiate it from main or another location?
Classes contain member variables and member functions.can you build a function inside a class
You "execute" functions and "instantiate" objects of a class....and then initiate it from main or another location?
Last edited by 7stud; 06-15-2005 at 04:26 AM.
you can use only class methods (functions inside a class) from outside of the class if A) the method is public, B) the object (class instance) is within the scope of the calling function.
i seem to have GCC 3.3.4
But how do i start it?
I dont have a menu for it or anything.
Static member functions may be called without an instance of the object.
Quzah.
Hope is the first step on the road to disappointment.