From 9618eb3078caa9710c71efb381059f9918504ab8 Mon Sep 17 00:00:00 2001 From: Emman Mensdorf Date: Thu, 8 Feb 2024 11:25:56 +0100 Subject: [PATCH] Raetsel header erstellt, Emman Mensdorf --- src/Raetsel_I_Zug_schachmat/Raetsel_I_.c | 2 +- src/Raetsel_I_Zug_schachmat/Raetsel_I_.h | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/Raetsel_I_Zug_schachmat/Raetsel_I_.h diff --git a/src/Raetsel_I_Zug_schachmat/Raetsel_I_.c b/src/Raetsel_I_Zug_schachmat/Raetsel_I_.c index a5e395e..d927864 100644 --- a/src/Raetsel_I_Zug_schachmat/Raetsel_I_.c +++ b/src/Raetsel_I_Zug_schachmat/Raetsel_I_.c @@ -47,7 +47,7 @@ char** Puzzlebrett_erstellen() { return Brett; } -void print_Puzzle(char** Brett) { +void print_Puzzlebrett(char** Brett) { int counter = 1; printf(" - 1 2 3 4 5 6 7 8 \n"); for (int i = 0; i < 8; i++) { diff --git a/src/Raetsel_I_Zug_schachmat/Raetsel_I_.h b/src/Raetsel_I_Zug_schachmat/Raetsel_I_.h new file mode 100644 index 0000000..6a87b12 --- /dev/null +++ b/src/Raetsel_I_Zug_schachmat/Raetsel_I_.h @@ -0,0 +1,9 @@ +#ifndef PUZZLE_H +#define PUZZLE_H + +#include + +char** Puzzlebrett_erstellen(); +void print_Puzzlebrett(char** Brett); + +#endif // PUZZLE_H \ No newline at end of file