From e91a0fcdd7ea3225d9db6cc9b6718bf2df269709 Mon Sep 17 00:00:00 2001 From: Samuel Oberhofer Date: Mon, 23 May 2022 22:07:45 +0200 Subject: [PATCH] add sortings --- Uebung 1/Sortiment.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Uebung 1/Sortiment.cpp b/Uebung 1/Sortiment.cpp index e3d165d..0798fa7 100644 --- a/Uebung 1/Sortiment.cpp +++ b/Uebung 1/Sortiment.cpp @@ -21,8 +21,10 @@ void Sortiment::sort(int modus) { case 3: break; case 4: + insertionSort(this->waren, 1); break; case 5: + insertionSort(this->waren, 0); break; default: std::cout << "Wrong Mode!" << std::endl;