diff options
author | RossTheRoss <msattr@gmail.com> | 2019-04-17 17:38:37 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-04-17 17:38:37 -0500 |
commit | 16dd1c8240cff2dcb622f163876086390719944f (patch) | |
tree | c1c83a8987489cdbaa32c5c990e4dc6e270223f2 /ee1301/wk6 | |
parent | LAB TIME (diff) | |
download | homework-16dd1c8240cff2dcb622f163876086390719944f.tar homework-16dd1c8240cff2dcb622f163876086390719944f.tar.gz homework-16dd1c8240cff2dcb622f163876086390719944f.tar.bz2 homework-16dd1c8240cff2dcb622f163876086390719944f.tar.lz homework-16dd1c8240cff2dcb622f163876086390719944f.tar.xz homework-16dd1c8240cff2dcb622f163876086390719944f.tar.zst homework-16dd1c8240cff2dcb622f163876086390719944f.zip |
Fix oopsie-woopsies
Diffstat (limited to 'ee1301/wk6')
-rw-r--r-- | ee1301/wk6/lab5/strap012_lab5_w_1.cpp | 3 | ||||
-rwxr-xr-x | ee1301/wk6/lab5/test | bin | 35136 -> 0 bytes |
2 files changed, 1 insertions, 2 deletions
diff --git a/ee1301/wk6/lab5/strap012_lab5_w_1.cpp b/ee1301/wk6/lab5/strap012_lab5_w_1.cpp index 490b54c..63d0a79 100644 --- a/ee1301/wk6/lab5/strap012_lab5_w_1.cpp +++ b/ee1301/wk6/lab5/strap012_lab5_w_1.cpp @@ -1,5 +1,6 @@ #include <iostream> #include <string> +#include <time.h> class DeckOfCards { private: @@ -10,7 +11,6 @@ public: for(int i=0; i<52; i++) { deck[i]=i+1; } - int index=0; } int dealCard() { index++; @@ -51,7 +51,6 @@ int main() { void showHand(int hand[], const int size) { for (int i=0; i<size; i++) { - char newHand[size]; switch(hand[i]%13) { case 0: std::cout << 'A'; break; diff --git a/ee1301/wk6/lab5/test b/ee1301/wk6/lab5/test Binary files differdeleted file mode 100755 index aa36d7f..0000000 --- a/ee1301/wk6/lab5/test +++ /dev/null |