cpp:copy_constructors
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cpp:copy_constructors [2020/04/14 15:35] – [Άλλη περίπτωση κλήση Copy Constructor] gthanos | cpp:copy_constructors [2020/04/14 15:48] – [Μια πιο σύνθετη περίπτωση] gthanos | ||
---|---|---|---|
Line 222: | Line 222: | ||
Rectangle(); | Rectangle(); | ||
~Rectangle(); | ~Rectangle(); | ||
- | Rectangle(Rectangle &r); | ||
void setWidth(int w); | void setWidth(int w); | ||
void setHeight(int h); | void setHeight(int h); |
cpp/copy_constructors.txt · Last modified: 2022/05/12 19:41 by gthanos