aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;