L
lilburne
Dave said:would the function func(int x) be allowed to access private, public and
protected member variables of faa?
No.
Dave said:would the function func(int x) be allowed to access private, public and
protected member variables of faa?
Dave said:class foo {
func(int x);
}
class faa {
foo fooObject;
}
would the function func(int x) be allowed to access private, public and
protected member variables of faa?
It tells me "friends" can access them, inherited can access public and
protected, but this is neither of those.
It tells me "friends" can access them, inherited can access public andWhat does your tutorial tell you, thru the index, about those keywords?
Dave said:It tells me "friends" can access them, inherited can access public and
protected, but this is neither of those.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.