aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-02-26 14:57:13 -0600
committerRossTheRoss <msattr@gmail.com>2019-02-26 14:57:13 -0600
commit4ebc205ba6332661d6128af5b820c308ed64015f (patch)
treee53a4fe9c9811cd6bc5885a7c1bb1f4d06050cec /ee1301
parentUnbreak everything (diff)
downloadhomework-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 'ee1301')
-rw-r--r--ee1301/wk3/hw3_directory/strap012_HW3A.cpp2
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;