From ff04ee83b4e0515b961881f8fec78d027f40048c Mon Sep 17 00:00:00 2001 From: Leaced Date: Wed, 5 Apr 2017 12:26:23 +0200 Subject: [PATCH] =?UTF-8?q?Kommentare=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sortieralgorithmen/InsertionSort.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sortieralgorithmen/InsertionSort.cpp b/Sortieralgorithmen/InsertionSort.cpp index 779ad67..1371010 100644 --- a/Sortieralgorithmen/InsertionSort.cpp +++ b/Sortieralgorithmen/InsertionSort.cpp @@ -26,7 +26,7 @@ int main() std::cout << "\n"; for(unsigned short idx = 0; idx=0 && array[idx2]>temp) array[idx2+1] = array[idx2--]; - array[idx2+1] = temp; for(unsigned short idx =0; idx