Nimbin[12]?Web & Tools / typing_10_fingers / commits / 32fb9ba

typing_10_fingers git · main

10 finger typing trainer (CMake)

typing terminal c cmake · first commit 2024-02-26 · last commit 2024-03-16 (2 years ago) · synced 3 days ago · upstream: git.ide3.de/chfis005/typing_10_fingers

C 97.4% Markdown 2.6%
git clone https://git.christianimmanuel.de/web-tools/typing_10_fingers.gitwget https://git.christianimmanuel.de/web-tools/typing_10_fingers/archive/typing_10_fingers.tar.gz

Betriebssystemerkennung&Bibs in header

Vitali Krieger · 2024-02-27 08:53 · 32fb9ba1b2d45e27ab6ce68dbc5963a2194ab47e

 inout.h | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/inout.h b/inout.h
index af03c93..c17f12b 100644
--- a/inout.h
+++ b/inout.h
@@ -1,6 +1,27 @@
 #ifndef TYPING_10_FINGERS_INOUT_H
 #define TYPING_10_FINGERS_INOUT_H
 #include <wchar.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
+#include <time.h>
+#include <locale.h>
+
+#ifdef WIN64
+#define WINDOWS
+#else
+#ifdef WIN32
+#define WINDOWS
+#endif
+#endif
+
+#ifdef WINDOWS
+#include <windows.h>
+#else
+#include <termios.h>
+#include <sys/ioctl.h> // window size
+#endif
 
 enum color_b {RED, GREEN};
 struct position_s {int x; int y;};