cpp:classes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cpp:classes [2017/05/10 04:36] – [Οι μέθοδοι της κλάσης] gthanos | cpp:classes [2020/04/08 07:35] – gthanos | ||
---|---|---|---|
Line 13: | Line 13: | ||
void setWidth(int w); | void setWidth(int w); | ||
void setHeight(int h); | void setHeight(int h); | ||
- | int getWidth(); | + | int getWidth() |
- | int getHeight(); | + | int getHeight() |
}; | }; | ||
void Rectangle:: | void Rectangle:: | ||
void Rectangle:: | void Rectangle:: | ||
- | int Rectangle:: | + | int Rectangle:: |
- | int Rectangle:: | + | int Rectangle:: |
int main () { | int main () { |
cpp/classes.txt · Last modified: 2021/05/06 23:01 (external edit)