B
BlueDoze
I want to know the difference between the following 3 methods of
calling a public function, which method is better and why
method 1:
myClass::myFunction();
method 2:
myClass myObject;
myObject.myFunction();
method 3:
myClass * pMyObject;
pMyObject->myFunction();
I know the difference between 2 and 3, but i'd like to know the
differences between 1 and the others
BlueDoze
calling a public function, which method is better and why
method 1:
myClass::myFunction();
method 2:
myClass myObject;
myObject.myFunction();
method 3:
myClass * pMyObject;
pMyObject->myFunction();
I know the difference between 2 and 3, but i'd like to know the
differences between 1 and the others
BlueDoze