Feb 20, 2016 at 2:10am UTC
i figure it out
Last edited on Feb 20, 2016 at 12:12pm UTC
Feb 20, 2016 at 2:32am UTC
#include <string>
#include <iostream>
#include <vector>
#include <cstdlib>
#include <ctime>
using namespace std;
class Cards
{
private:
string face;
string suit;
int value;
public:
void setFace(string f);
void setSuit(string s);
string getSuit() const { return suit; }
string getFace() const { return face; }
int getValue();
};
void Cards::setFace(string f)
{
face = f;
}
void Cards::setSuit(string s)
{
suit = s;
}
class StandardDeck
{
private:
vector<Cards> deck;
public:
void make();
void show();
int getRandomCard();
};
void StandardDeck::make()
{
}
int StandardDeck::getRandomCard()
{
}
int main()
{
return 0;
}
Feb 20, 2016 at 2:33am UTC
this is what i have so far
Feb 20, 2016 at 8:14am UTC
You know it would be less cancer for our eyes If you used the code brackets , right?
Also why do you set the title on CAPS?
Besides that, people will help you, but homework is YOUR job, you shouldn't be programming C++ if you can't do homework and listen in class/course
Last edited on Feb 20, 2016 at 8:15am UTC