From c635cd922117787af4bd11c67b71391b90cb962a Mon Sep 17 00:00:00 2001 From: Holger Boerchers Date: Fri, 7 Dec 2018 20:32:09 +0100 Subject: [PATCH] minor fixes --- src/Ausgabenverwaltung.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Ausgabenverwaltung.cpp b/src/Ausgabenverwaltung.cpp index ac30ac1..4597085 100644 --- a/src/Ausgabenverwaltung.cpp +++ b/src/Ausgabenverwaltung.cpp @@ -99,7 +99,7 @@ const char* invoice::categories[] = { const char* invoice::months[] = { "Januar", "Februar", - "März", + "M\x84rz", "April", "Mai", "Juni", @@ -198,7 +198,7 @@ int main() void create_invoice() { system("cls"); - cout << "Eine neue Rechnung erstellen." << endl; + cout << "Eine neue Rechnung erstellen" << endl; cout << "------------------------------------" << endl; const auto invoice_no = ++invoice_serial_number; const auto amount = ask_question("Bitte geben Sie den Betrag in Euro ein."); @@ -211,7 +211,7 @@ void create_invoice() void invoices_ordered_by_month() { system("cls"); - cout << "Alle Rechnungen nach Monat sortiert:" << endl; + cout << "Alle Rechnungen nach Monat sortiert" << endl; cout << "------------------------------------" << endl; auto temp = list(invoices); temp.sort(compare_month_ascending); @@ -228,6 +228,9 @@ void invoices_ordered_by_month() void delete_invoice() { + system("cls"); + cout << "Rechnung l\x94schen" << endl; + cout << "------------------------------------" << endl; const auto invoice_number = ask_question("Bitte geben Sie eine Rechnungsnummer ein"); for (auto invoice : invoices) { @@ -243,6 +246,9 @@ void delete_invoice() void sum_invoices_per_category() { + system("cls"); + cout << "Summe der Ausgaben pro Kategorie ausgeben" << endl; + cout << "------------------------------------" << endl; map sums; for (auto invoice : invoices) {