Correct/add comments.

This commit is contained in:
paulusja committed 2026-10-29 14:32:13 +01:00
1 parent 8f1a6e24a7
commit ac18579fea
2 files changed
+6 -6

No files matched your search

-2
View File
@@ -74,13 +74,11 @@ int comparePersons(const void *arg1, const void *arg2)
return nameResult;
}
// Sortiert die Namen im Archiv aufsteigend.
void sortPersons()
{
qsort(persons, numberOfPersons, sizeof(persons[0]), comparePersons);
}
// Gibt die Namen zeilenweise aus.
void printPersons()
{
for(int i = 0; i < numberOfPersons; i++)