aboutsummaryrefslogtreecommitdiff
path: root/cpp03/ex01/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp03/ex01/main.cpp')
-rw-r--r--cpp03/ex01/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp03/ex01/main.cpp b/cpp03/ex01/main.cpp
index 864041c..c8fb9f0 100644
--- a/cpp03/ex01/main.cpp
+++ b/cpp03/ex01/main.cpp
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/22 05:41:27 by cacharle #+# #+# */
-/* Updated: 2020/11/12 10:42:13 by cacharle ### ########.fr */
+/* Updated: 2020/11/17 16:46:24 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -26,7 +26,9 @@ int main(void)
devRandom.close();
}
else
+ {
seed = time(NULL);
+ }
srand(seed);
{