diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Bachelor/Softwaretechnik1/swtBank/konto.cpp | |
| download | Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2 | |
Diffstat (limited to 'Bachelor/Softwaretechnik1/swtBank/konto.cpp')
| -rw-r--r-- | Bachelor/Softwaretechnik1/swtBank/konto.cpp | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Bachelor/Softwaretechnik1/swtBank/konto.cpp b/Bachelor/Softwaretechnik1/swtBank/konto.cpp new file mode 100644 index 0000000..4864c9d --- /dev/null +++ b/Bachelor/Softwaretechnik1/swtBank/konto.cpp @@ -0,0 +1,60 @@ +/**********************************************************************************/
+/* Definitionsmodul */
+/**********************************************************************************/
+/*
+ * generiert mit Innovator Version 8.1.04
+ *
+ * erstellt am: 01.05.2005 14:31:27
+ * Repository : swtd29
+ * Modell : swtd29
+ * Benutzer : ADMIN
+ * File : /tmp/src/konto.cpp
+ *
+ */
+
+
+// ino.module.konto.512.includes
+#include "konto.hpp"
+// ino.end
+
+
+// ino.method.Konto.499.definition
+Konto::Konto(void)
+// ino.end
+// ino.method.Konto.499.body
+{
+ kontostand=0;
+ kontonummer=12345678;
+}
+// ino.end
+
+// ino.method.~Konto.496.definition
+Konto::~Konto(void)
+// ino.end
+// ino.method.~Konto.496.body
+{
+}
+// ino.end
+
+// ino.method.geldEinzahlen.470.definition
+void Konto::geldEinzahlen(float betrag)
+// ino.end
+// ino.method.geldEinzahlen.470.body
+{
+ kontostand+=betrag;
+}
+// ino.end
+
+// ino.method.geldAbheben.472.definition
+void Konto::geldAbheben(float betrag)
+// ino.end
+// ino.method.geldAbheben.472.body
+{
+ kontostand-=betrag;
+}
+// ino.end
+
+float Konto::getKontostand()
+{
+ return kontostand;
+}
|
