Correct/add comments.
This commit is contained in:
1 parent
8f1a6e24a7
commit
ac18579fea
2 files changed
+6
-6
No files matched your search
@@ -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++)
|
||||
|
||||
Reference in new issue
Block a user