tom1234
asked on
what is :: in MFC
for example
if ( CFrameWnd::OnCreate(lpCRea teStruct) == 1 )
what is the meaning of ::
I just thought it is a inheritance
if ( CFrameWnd::OnCreate(lpCRea
what is the meaning of ::
I just thought it is a inheritance
It's not about MFC. In C++ program any variable is visiable in a certain part of the application. In your case, you say to call method OnCreate from CFrameWnd class. CFrameWnd is a base class in this case.
BTW, the name is "scope resolution operator".
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
^^ Class ^^ Member of class