0

Need help with this c++ program

Create a class named ‘House’. The class should have an integer type data member called ‘Area’. Create and initialize three objects from the class ‘House’ using three different types of ctors.

4th Jan 2021, 4:19 AM
Soheer Khan
Soheer Khan - avatar
4 ответов
+ 4
Show us your attempt. Dont ask your school homework here
4th Jan 2021, 4:25 AM
Charitra
Charitra - avatar
4th Jan 2021, 4:25 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 2
Soheer Khan third one is "copy constructor".
4th Jan 2021, 5:59 AM
Arsenic
Arsenic - avatar
0
I already did using the the simple ctor and prematerise ctor . I just don't know what is the third type .
4th Jan 2021, 4:27 AM
Soheer Khan
Soheer Khan - avatar