Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
main.cpp@0:3f07a74c8248, 2019-02-14 (annotated)
- Committer:
- kaushalpkk
- Date:
- Thu Feb 14 12:04:39 2019 +0000
- Revision:
- 0:3f07a74c8248
...
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| kaushalpkk | 0:3f07a74c8248 | 1 | #include "mbed.h" |
| kaushalpkk | 0:3f07a74c8248 | 2 | #include "Shape.h" |
| kaushalpkk | 0:3f07a74c8248 | 3 | |
| kaushalpkk | 0:3f07a74c8248 | 4 | Shape squr(6); //create a squr object with a single input parameter |
| kaushalpkk | 0:3f07a74c8248 | 5 | Shape rect(2,9); //create a rect object with 2 input parameters |
| kaushalpkk | 0:3f07a74c8248 | 6 | |
| kaushalpkk | 0:3f07a74c8248 | 7 | int main() { |
| kaushalpkk | 0:3f07a74c8248 | 8 | squr.printInfo(); //print information on squr |
| kaushalpkk | 0:3f07a74c8248 | 9 | rect.printInfo(); ///print information on squr |
| kaushalpkk | 0:3f07a74c8248 | 10 | } |