0
Writing a program
Write a program that uses a constructor to initialise an object
5 odpowiedzi
0
Writing a program that uses a constructor to initialise an object
0
I'm having problems writing such a problem and that's why I asked all the questions I did
0
Coming Up
0
BigMommaClass { BigMommaClass(int, int); private: ThingOne thingOne; ThingTwo thingTwo; }; BigMommaClass::BigMommaClass(int numba1, int numba2) : thingOne(numba1 + numba2), thingTwo(numba1, numba2) {}
0
Thanks,,,but is it complete Just that way??
How can I see it in the code playground so as I can run it later...