cpp:copy_constructors
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cpp:copy_constructors [2021/05/07 08:37] – gthanos | cpp:copy_constructors [2022/05/12 18:56] – gthanos | ||
---|---|---|---|
Line 23: | Line 23: | ||
int getHeight(); | int getHeight(); | ||
}; | }; | ||
+ | </ | ||
+ | |||
+ | <code cpp Rectangle.cpp> | ||
+ | #include " | ||
Rectangle:: | Rectangle:: | ||
Line 29: | Line 33: | ||
} | } | ||
- | Rectangle:: | + | Rectangle:: |
cout << " | cout << " | ||
width = s; height = s; | width = s; height = s; |
cpp/copy_constructors.txt · Last modified: 2022/05/12 19:41 by gthanos