Codeschnippseln für diese Übung

Dependencies:   mbed

Revision:
1:c65875995efb
Parent:
0:76d9c940a794
--- a/class1.cpp	Tue Oct 06 16:36:31 2020 +0000
+++ b/class1.cpp	Tue Oct 13 16:34:21 2020 +0000
@@ -8,4 +8,14 @@
         {
             //_messwert = 0;
         }
+        MyClass(double messwert) : _messwert(messwert)
+        {
+            
+        }
+        
+        
+        int GetMesswert()
+        {
+            return _messwert;    
+        }
 };
\ No newline at end of file