diff options
author | RossTheRoss <msattr@gmail.com> | 2019-02-26 14:57:13 -0600 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-02-26 14:57:13 -0600 |
commit | 4ebc205ba6332661d6128af5b820c308ed64015f (patch) | |
tree | e53a4fe9c9811cd6bc5885a7c1bb1f4d06050cec | |
parent | Unbreak everything (diff) | |
download | homework-4ebc205ba6332661d6128af5b820c308ed64015f.tar homework-4ebc205ba6332661d6128af5b820c308ed64015f.tar.gz homework-4ebc205ba6332661d6128af5b820c308ed64015f.tar.bz2 homework-4ebc205ba6332661d6128af5b820c308ed64015f.tar.lz homework-4ebc205ba6332661d6128af5b820c308ed64015f.tar.xz homework-4ebc205ba6332661d6128af5b820c308ed64015f.tar.zst homework-4ebc205ba6332661d6128af5b820c308ed64015f.zip |
Seed time to NULL
Diffstat (limited to '')
-rw-r--r-- | ee1301/wk3/hw3_directory/strap012_HW3A.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk3/hw3_directory/strap012_HW3A.cpp b/ee1301/wk3/hw3_directory/strap012_HW3A.cpp index b10c296..07dc6b5 100644 --- a/ee1301/wk3/hw3_directory/strap012_HW3A.cpp +++ b/ee1301/wk3/hw3_directory/strap012_HW3A.cpp @@ -39,7 +39,7 @@ int spin_the_wheels(int d, int w) { } int main () { - srand(88888888); //Seeds the RNG of the program to a constant of eight 8s + srand(time(NULL)); int w, d, winCount, winTest; for (w=3; w<=6; w++) { winCount=0; |