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 [2021/05/07 08:35] – [Μια πιο σύνθετη περίπτωση] gthanos | cpp:copy_constructors [2021/05/07 08:37] – gthanos | ||
---|---|---|---|
Line 99: | Line 99: | ||
Rectangle(int s); | Rectangle(int s); | ||
Rectangle(); | Rectangle(); | ||
- | Rectangle(Rectangle& | + | Rectangle(const Rectangle& |
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