Kommentare ergänzt
This commit is contained in:
parent
ff04ee83b4
commit
eee1a97a8f
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ int main()
|
||||||
std::cout << "\n";
|
std::cout << "\n";
|
||||||
|
|
||||||
for(unsigned short idx =0; idx<amount-1; idx++) std::cout << array[idx] << ", ";
|
for(unsigned short idx =0; idx<amount-1; idx++) std::cout << array[idx] << ", ";
|
||||||
std::cout << array[amount-1] << "\n";
|
std::cout << array[amount-1] << "\n"; //Ausgabe des unsortierten Arrays
|
||||||
|
|
||||||
for(unsigned short idx = 0; idx<amount-1; idx++)
|
for(unsigned short idx = 0; idx<amount-1; idx++)
|
||||||
{
|
{
|
||||||
|
@ -41,7 +41,7 @@ int main()
|
||||||
}
|
}
|
||||||
|
|
||||||
for(unsigned short idx =0; idx<amount-1; idx++) std::cout << array[idx] << ", ";
|
for(unsigned short idx =0; idx<amount-1; idx++) std::cout << array[idx] << ", ";
|
||||||
std::cout << array[amount-1] << "\n";
|
std::cout << array[amount-1] << "\n"; //Ausgabe des Arrays nach jedem Sortierungsschritt
|
||||||
}
|
}
|
||||||
|
|
||||||
getch();
|
getch();
|
||||||
|
|
Reference in a new issue