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.
Diff: Datestr.h
- Revision:
- 0:397b5462e6d7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Datestr.h Thu Nov 15 06:55:25 2018 +0000
@@ -0,0 +1,43 @@
+#include "mbed.h"
+#include "const.h"
+#include "rtc.h"
+#include "string"
+#include "Date.h"
+
+#ifndef DATESTR_H
+#define DATESTR_H
+
+class A
+{
+protected:
+ string test;
+public:
+ void Print(int anzahl, string r);
+ void Print(string r);
+};
+class B : public A
+{
+private:
+ int anzahl;
+public:
+ void Print(string nr);
+ using A::Print;
+};
+
+
+
+
+class Datestr : public Date
+{
+ private:
+ string day, month, year;
+ string toString(uint8_t value);
+
+ public:
+// string day, month, year;
+ Datestr()
+ {}
+ virtual string GetDay(uint8_t value);
+ using Date::GetDay; // ermöglicht den Aufruf der Methode in Basisklasse Date, sonst Error 165
+};
+#endif
\ No newline at end of file