From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- Bachelor/Softwaretechnik1/swtBank/konto.cpp | 60 +++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Bachelor/Softwaretechnik1/swtBank/konto.cpp (limited to 'Bachelor/Softwaretechnik1/swtBank/konto.cpp') 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; +} -- cgit v1.2.3