diff options
author | RossTheRoss <msattr@gmail.com> | 2019-04-19 09:19:07 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-04-19 09:19:07 -0500 |
commit | 19a35c26620592aeb133308c9eb8cf2763e4ed4f (patch) | |
tree | 2231deaccb3bc1c674495d51a70e24224530d525 /ee1301/wk6/lab5 | |
parent | Fixing formatting (diff) | |
download | homework-19a35c26620592aeb133308c9eb8cf2763e4ed4f.tar homework-19a35c26620592aeb133308c9eb8cf2763e4ed4f.tar.gz homework-19a35c26620592aeb133308c9eb8cf2763e4ed4f.tar.bz2 homework-19a35c26620592aeb133308c9eb8cf2763e4ed4f.tar.lz homework-19a35c26620592aeb133308c9eb8cf2763e4ed4f.tar.xz homework-19a35c26620592aeb133308c9eb8cf2763e4ed4f.tar.zst homework-19a35c26620592aeb133308c9eb8cf2763e4ed4f.zip |
e
e
e
e
e
e
e
e
e
e
Diffstat (limited to 'ee1301/wk6/lab5')
-rw-r--r-- | ee1301/wk6/lab5/strap012_lab5_w_1.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ee1301/wk6/lab5/strap012_lab5_w_1.cpp b/ee1301/wk6/lab5/strap012_lab5_w_1.cpp index d1750ed..f503fc9 100644 --- a/ee1301/wk6/lab5/strap012_lab5_w_1.cpp +++ b/ee1301/wk6/lab5/strap012_lab5_w_1.cpp @@ -1,5 +1,5 @@ #include <iostream> -#include <string> +//#include <time.h> //Needed if using MinGW class DeckOfCards { private: @@ -64,6 +64,7 @@ void DeckOfCards::shuffle() { } //Function to deal the card when asked by grabbing from the deck and shuffling if such card does not exist. +//Returns the card drawn from the deck int DeckOfCards::dealCard() { index++; if (index>=52) { |