From 19a35c26620592aeb133308c9eb8cf2763e4ed4f Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Fri, 19 Apr 2019 09:19:07 -0500 Subject: e e e e e e e e e e --- ee1301/wk6/lab5/strap012_lab5_w_1.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ee1301/wk6/lab5') 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 -#include +//#include //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) { -- cgit v1.2.3