Browse Source

Commit 3 - func clearscreen hinzufügen

main^2
Peter Wiebe 11 months ago
committed by Peter Wiebe
parent
commit
353ca94fe1
  1. 11
      src/main/c/hangman.c

11
src/main/c/hangman.c

@ -5,5 +5,14 @@
#include <unistd.h>
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