I need to make an arrangement of size 10 objects within a different class, The only way I know how to do it is this:
(B is another class)
class A
{
private:
B arreglo[10];
public:
A();
A(string, int, B arreglo[10]);
};
The problem is I'm not entirely clear what the constructor should be by reference, how should I pass the fix to the constructor?
Could someone explain to me how? ...
Is there any way to handle it with pointers? ...