n/a
Square.h@1:f72e3e1af03d, 2016-03-22 (annotated)
- Committer:
- kch78
- Date:
- Tue Mar 22 10:18:36 2016 +0000
- Revision:
- 1:f72e3e1af03d
- Parent:
- 0:202298a7e6bc
poprawka
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kch78 | 0:202298a7e6bc | 1 | #ifndef MBED_SQUARE_H |
kch78 | 0:202298a7e6bc | 2 | #define MBED_SQUARE_H |
kch78 | 0:202298a7e6bc | 3 | #include "Rectangle.h" |
kch78 | 0:202298a7e6bc | 4 | #include "mbed.h" |
kch78 | 0:202298a7e6bc | 5 | #include <string> |
kch78 | 0:202298a7e6bc | 6 | |
kch78 | 0:202298a7e6bc | 7 | class Square : public Rectangle |
kch78 | 0:202298a7e6bc | 8 | { |
kch78 | 0:202298a7e6bc | 9 | public: |
kch78 | 1:f72e3e1af03d | 10 | Square(float size); |
kch78 | 0:202298a7e6bc | 11 | }; |
kch78 | 0:202298a7e6bc | 12 | |
kch78 | 0:202298a7e6bc | 13 | #endif |