aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex03/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex03/main.cpp')
-rw-r--r--cpp01/ex03/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp01/ex03/main.cpp b/cpp01/ex03/main.cpp
index 12a0045..4dd95b6 100644
--- a/cpp01/ex03/main.cpp
+++ b/cpp01/ex03/main.cpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 09:56:14 by charles #+# #+# */
-/* Updated: 2020/11/09 12:54:36 by cacharle ### ########.fr */
+/* Updated: 2020/11/17 16:44:08 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -26,7 +26,9 @@ int main()
devRandom.close();
}
else
+ {
seed = time(NULL);
+ }
srand(seed);
std::cout << "=== Stack horde ===" << std::endl;