Browse Source

Anpassung von Parametern.

main
David PC Saiz 2 years ago
parent
commit
aa5ed8614d
  1. BIN
      build/artifacts/release/Paper-Bin.out
  2. BIN
      build/release/Paper-Bin.out
  3. BIN
      build/release/out/c/Paper-Bin.o
  4. 4
      src/Paper-Bin.c

BIN
build/artifacts/release/Paper-Bin.out

BIN
build/release/Paper-Bin.out

BIN
build/release/out/c/Paper-Bin.o

4
src/Paper-Bin.c

@ -191,9 +191,9 @@ void sortScoreboard()
fclose(fp); fclose(fp);
printf(" Scoreboard:\n\n"); printf(" Scoreboard:\n\n");
for (int j = 0; j <= numberOfLines; j++)
for (int j = 0; j < numberOfLines; j++)
{ {
printf("%d. %s %s %d\n", j + 1, (j < 10) ? " " : " ", playerlist[j].Name, playerlist[j].Points);
printf("%d. %s %s %d\n", j + 1, (j < 9) ? " " : " ", playerlist[j].Name, playerlist[j].Points);
sleep(1000); sleep(1000);
} }

Loading…
Cancel
Save