[an error occurred while processing this directive]
|
class foo
{
public:
foo::foo (){};
void hz( void ) {};
};
typdef struct _tagS
{
int val;
foo *pFoo;
} S;
...
S st;
foo fooMy;
st.val = 10;
st.pFoo = new foo();
st.pFoo->hz();
st.pFoo = &fooMy;
st.pFoo->hz();
...
E-mail: info@telesys.ru