Browse Source

Die Inhalte der Datei werden widergegeben

main
fdai7037 2 years ago
parent
commit
e544c72e9b
  1. 5
      src/Paper-Bin.c

5
src/Paper-Bin.c

@ -191,6 +191,11 @@ void sortScoreboard()
fclose(fp);
printf(" Scoreboard:\n\n");
for (int j = 0; j <= numberOfLines; j++)
{
printf("%d. %s %s %d\n", j + 1, (j < 10) ? " " : " ", playerlist[j].Name, playerlist[j].Points);
}
FILE* fp = fopen("ScoreBoard.txt", "w");
}
Loading…
Cancel
Save