diff options
author | RossTheRoss <msattr@gmail.com> | 2019-04-22 12:58:34 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-04-22 12:58:34 -0500 |
commit | 21831aa704646e793e42abd683b4d3d229a8a52e (patch) | |
tree | a8a4e7930f90e9848e75239949b1902b544fa0e5 /ee1301/wk6 | |
parent | Finish Lab late (diff) | |
download | homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.gz homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.bz2 homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.lz homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.xz homework-21831aa704646e793e42abd683b4d3d229a8a52e.tar.zst homework-21831aa704646e793e42abd683b4d3d229a8a52e.zip |
Fix
Diffstat (limited to 'ee1301/wk6')
-rw-r--r-- | ee1301/wk6/lab5/strap012_lab5_w_1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk6/lab5/strap012_lab5_w_1.cpp b/ee1301/wk6/lab5/strap012_lab5_w_1.cpp index d42cd95..2c3a92f 100644 --- a/ee1301/wk6/lab5/strap012_lab5_w_1.cpp +++ b/ee1301/wk6/lab5/strap012_lab5_w_1.cpp @@ -16,7 +16,7 @@ int main() { const int size=4; //Size can be changed for larger hands DeckOfCards deck; int hand[size]; - for (int i=0; i<26; i++) { + for (int i=0; i<13; i++) { for (int j=0; j<size; j++) { hand[j]=deck.dealCard(); } |