A
Allen
Hi all,
I didn't find this explicitly stated in the FAQ so I wanted to verify
it.
A class and a struct are the same except for their default access
levels, right? So then, if I wanted a member pointer in my class to point
to an int in a struct I would have to declare the member pointer to be:
class MyClass
{
MyStruct::int* piMyIntPntr;
};
Is that correct?
I didn't find this explicitly stated in the FAQ so I wanted to verify
it.
A class and a struct are the same except for their default access
levels, right? So then, if I wanted a member pointer in my class to point
to an int in a struct I would have to declare the member pointer to be:
class MyClass
{
MyStruct::int* piMyIntPntr;
};
Is that correct?