aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk6/lab5
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-04-17 17:38:37 -0500
committerRossTheRoss <msattr@gmail.com>2019-04-17 17:38:37 -0500
commit16dd1c8240cff2dcb622f163876086390719944f (patch)
treec1c83a8987489cdbaa32c5c990e4dc6e270223f2 /ee1301/wk6/lab5
parentLAB TIME (diff)
downloadhomework-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 '')
-rw-r--r--ee1301/wk6/lab5/strap012_lab5_w_1.cpp3
-rwxr-xr-xee1301/wk6/lab5/testbin35136 -> 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
deleted file mode 100755
index aa36d7f..0000000
--- a/ee1301/wk6/lab5/test
+++ /dev/null
Binary files differ