Speaking composition in C ++, this means that you are installing an object from a class that I called it A (possibly containing three data elements, for example three built-in types in the form of integers, so as not to make it too complex) to another class that I named B (and possibly along with other data members belonging to class B).
In turn, the actual muy puzzle is to figure out how to decompose this object from class A, which was included in class B. Almost 50% of the time (without linking to this site, because this is my first active participation) was released me because I know that I wonβt have any concrete help ... so let me go dig into my collection of books at level 2 of C ++ and study
Robson ferreira
source share