aboutsummaryrefslogtreecommitdiff
path: root/cpp03/ex04/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp03/ex04/main.cpp')
-rw-r--r--cpp03/ex04/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp03/ex04/main.cpp b/cpp03/ex04/main.cpp
index 0358760..c080dc2 100644
--- a/cpp03/ex04/main.cpp
+++ b/cpp03/ex04/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:13:44 by cacharle ### ########.fr */
+/* Updated: 2020/11/17 16:49:46 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -28,7 +28,9 @@ int main(void)
devRandom.close();
}
else
+ {
seed = time(NULL);
+ }
srand(seed);
{