I have a couple classes. Class A and Class B.
class A has a structure aStruct
class B has a function that is:
A::astruct myfunction();
What is the difference if I put the A structure in the B class so that the function looks like
astruct myfunction();
does this not return an instance of a class, or what is the benefit? I am not strong in C/C++, but I am in other languages.
Thanks alot!!!
J
class A has a structure aStruct
class B has a function that is:
A::astruct myfunction();
What is the difference if I put the A structure in the B class so that the function looks like
astruct myfunction();
does this not return an instance of a class, or what is the benefit? I am not strong in C/C++, but I am in other languages.
Thanks alot!!!
J