1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
#include <iostream>
#include "Buchungslist.h"
int main() {
Buchungslist buchungen;
buchungen.addBuchung(10, "TTTTTTTTTTTTTTTT", 120.3, bew.getHead(), schus,2);
buchungen.addBuchung(7, "T32434234TTTTTT", 20, bew.getHead(), schus, 2);
buchungen.addBuchung(12, "T32434234TTTTTT", 20, bew.getHead(), schus, 2); // << In this call the While-Loop never ends
buchungen.addBuchung(3, "T32434234TTTTTT", 20, bew.getHead(), schus, 2);
buchungen.addBuchung(5, "T32434234TTTTTT", 20, bew.getHead(), schus, 2);
return 0;
}
|