diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 8e1f8d2..0985547 100644 Binary files a/cmake-build-debug/.ninja_deps and b/cmake-build-debug/.ninja_deps differ diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index de05a25..b1c1db1 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -36,3 +36,7 @@ 36 54 1740479692458981700 Exercices 1155f81bcff01d1c 1 18 1740479711386092684 CMakeFiles/Exercices.dir/main.c.o 51f95a9f148558b3 18 27 1740479711403092783 Exercices 1155f81bcff01d1c +1 19 1740480102442397377 CMakeFiles/Exercices.dir/main.c.o 51f95a9f148558b3 +19 28 1740480102460397489 Exercices 1155f81bcff01d1c +1 23 1740480578174359905 CMakeFiles/Exercices.dir/main.c.o 51f95a9f148558b3 +23 39 1740480578196360042 Exercices 1155f81bcff01d1c diff --git a/cmake-build-debug/CMakeFiles/Exercices.dir/main.c.o b/cmake-build-debug/CMakeFiles/Exercices.dir/main.c.o index 86c9ae6..98722e1 100644 Binary files a/cmake-build-debug/CMakeFiles/Exercices.dir/main.c.o and b/cmake-build-debug/CMakeFiles/Exercices.dir/main.c.o differ diff --git a/cmake-build-debug/Exercices b/cmake-build-debug/Exercices index 2d82485..1d84e5d 100755 Binary files a/cmake-build-debug/Exercices and b/cmake-build-debug/Exercices differ diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 22e23c2..5137169 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 25 11:35 CET +Start testing: Feb 25 11:49 CET ---------------------------------------------------------- -End testing: Feb 25 11:35 CET +End testing: Feb 25 11:49 CET diff --git a/main.c b/main.c index f502975..5aa6ec5 100644 --- a/main.c +++ b/main.c @@ -3,7 +3,6 @@ #include #include #include -#include // Variables const int size=8; @@ -146,6 +145,14 @@ void hiddennumber() { printf("Until next time ! \n"); } } + +void xmastree() { + int selection; + printf("Tree height ?: "); + scanf("%d",&selection); + for (int i=0; ; i++) {} + +} int main(void) { int* tab=alloc_tab(); int tab2[4]={1,2,3,4};