|
|
@ -61,6 +61,12 @@ void hinzufuegen_historie(int** Historie, int startX, int startY, int endX, int |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
void print_Historie(){ |
|
|
|
|
|
|
|
void print_Historie(int** Historie, int anzahl_Zuege) { |
|
|
|
printf("Historie der Züge:\n"); |
|
|
|
for (int i = 0; i <= anzahl_Zuege; i++) { |
|
|
|
printf("%d. Zug: Von (%d, %d) nach (%d, %d)\n", i + 1, |
|
|
|
Historie[i][0], Historie[i][1], |
|
|
|
Historie[i][2], Historie[i][3]); |
|
|
|
} |
|
|
|
printf("\n"); |
|
|
|
} |