diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2024-04-10 14:22:20 +0200 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2024-04-10 14:22:20 +0200 |
commit | 39b71d6cf10615dfb16cc72cf2c1bb859d9a6892 (patch) | |
tree | 9293b012fb26985ab18f8a0a4006bdd3d74bc832 | |
parent | 12668d99bd872539ff74d82a966ed049e66acde9 (diff) | |
download | code-39b71d6cf10615dfb16cc72cf2c1bb859d9a6892.tar.gz code-39b71d6cf10615dfb16cc72cf2c1bb859d9a6892.tar.bz2 code-39b71d6cf10615dfb16cc72cf2c1bb859d9a6892.zip |
some small changes.
-rw-r--r-- | factorial.hpp | 9 | ||||
-rw-r--r-- | types.hpp | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/factorial.hpp b/factorial.hpp deleted file mode 100644 index ddc0bac..0000000 --- a/factorial.hpp +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -long unsigned factorial(unsigned p) { - if (p == 0) { - return 1; - } else { - return p * factorial(p - 1); - } -} diff --git a/types.hpp b/types.hpp deleted file mode 100644 index 86ccb8f..0000000 --- a/types.hpp +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -using Real = double; |