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.
Classe_1.h@1:ea27eae94ab2, 2021-04-15 (annotated)
- Committer:
- softris
- Date:
- Thu Apr 15 17:10:47 2021 +0000
- Revision:
- 1:ea27eae94ab2
- Parent:
- 0:6e688c52e0cc
Version de base
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| softris | 0:6e688c52e0cc | 1 | #include "mbed.h" |
| softris | 0:6e688c52e0cc | 2 | |
| softris | 0:6e688c52e0cc | 3 | #ifndef _Classe_1_ |
| softris | 1:ea27eae94ab2 | 4 | #define _Classe_1_ |
| softris | 0:6e688c52e0cc | 5 | |
| softris | 0:6e688c52e0cc | 6 | typedef struct |
| softris | 0:6e688c52e0cc | 7 | { |
| softris | 1:ea27eae94ab2 | 8 | float x ; |
| softris | 1:ea27eae94ab2 | 9 | float y ; |
| softris | 1:ea27eae94ab2 | 10 | } Point ; |
| softris | 0:6e688c52e0cc | 11 | |
| softris | 0:6e688c52e0cc | 12 | |
| softris | 0:6e688c52e0cc | 13 | class Classe_1 |
| softris | 0:6e688c52e0cc | 14 | { |
| softris | 0:6e688c52e0cc | 15 | public: |
| softris | 0:6e688c52e0cc | 16 | Classe_1(void) ; |
| softris | 0:6e688c52e0cc | 17 | |
| softris | 1:ea27eae94ab2 | 18 | void fonction_1(void) ; |
| softris | 1:ea27eae94ab2 | 19 | float fonction_2(void) ; |
| softris | 1:ea27eae94ab2 | 20 | int fonction_3(Point *pPoint) ; |
| softris | 1:ea27eae94ab2 | 21 | |
| softris | 1:ea27eae94ab2 | 22 | Point point ; |
| softris | 0:6e688c52e0cc | 23 | |
| softris | 0:6e688c52e0cc | 24 | }; |
| softris | 0:6e688c52e0cc | 25 | |
| softris | 1:ea27eae94ab2 | 26 | |
| softris | 0:6e688c52e0cc | 27 | #endif |