From 8b6ad397fef77d124dcba0db124d4507963e4cae Mon Sep 17 00:00:00 2001 From: Enrico Schellenberger Date: Sat, 3 Feb 2024 12:49:17 +0100 Subject: [PATCH] added new File BasicMode.c for Basic calculations --- src/main/c/BasicMode.c | 9 +++++++++ src/main/c/main_taschenrechner.c | 1 + 2 files changed, 10 insertions(+) create mode 100644 src/main/c/BasicMode.c diff --git a/src/main/c/BasicMode.c b/src/main/c/BasicMode.c new file mode 100644 index 0000000..30a7779 --- /dev/null +++ b/src/main/c/BasicMode.c @@ -0,0 +1,9 @@ +#include +#include +#include +#include + +#include "taschenrechner.h" +#include "main_taschenrechner.c" + + diff --git a/src/main/c/main_taschenrechner.c b/src/main/c/main_taschenrechner.c index f1fccac..dbe0447 100644 --- a/src/main/c/main_taschenrechner.c +++ b/src/main/c/main_taschenrechner.c @@ -4,6 +4,7 @@ #include #include "taschenrechner.h" +#include "BasicMode.c" doulbe add(doulbe a, doulbe b) {