Hi jorges, Your syntax is incorrect. A myA1(myB); // Make an A, passing a B parameter. A myA2(); // Declare a function myA2, which returns an A. A myA3; // Make an A using default constructor. HTH, --Eljay
Hi jorges, Your syntax is incorrect. A myA1(myB); // Make an A, passing a B parameter. A myA2(); // Declare a function myA2, which returns an A. A myA3; // Make an A using default constructor. HTH, --Eljay
![]() |