#include <iostream> using namespace std; class SomeClass { public: void f(); }; void SomeClass::f() { cout<<"in some class"<<endl; } int main() { SomeClass* sc; sc = NULL; sc->f(); return 0; }
in some class
f
this
sc
static
static int EquivalentFunction(SomeClass* instance);
instance
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)