Browse Source

Commit 3 - func clearscreen hinzufügen

remotes/origin/peter^2
Peter Wiebe 11 months ago
parent
commit
bde4a9ddd5
  1. 11
      src/main/c/hangman.c

11
src/main/c/hangman.c

@ -6,5 +6,14 @@
#include <unistd.h> #include <unistd.h>
void protokoll(); void protokoll();
void clear_screen();
void protokoll(){}
void protokoll(){
clear_screen();
}
void clear_screen() {
system("clear");
// system("cls"); // fuer Windows
// system("clear"); // fuer UNIX/Linux
}
Loading…
Cancel
Save