|
-
March 20th, 2003, 01:49 PM
#1
When shoud "::mFunc()" syntax be used?
Hello,
Assuming we have an object "spb", which has a member function named "getsize".
Now I want to invoke the "getsize" function. Could some one explain to me the difference between the following 2 methods:
-------method 1------------
::getsize();
-------method 2------------
spb test;
test.getsize();
-------------------------------
How are the two methods used under different circumstances ?
Thanks very much in advance,
Larry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|