blob: ef6ae5883ac5d63a3a545975fb2d5dd2959fe00d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//
// Created by thecharlesblake on 10/11/17.
//
#ifndef SOLITAIRE_PIP_CARD_H
#define SOLITAIRE_PIP_CARD_H
#include <string>
class card {
public:
card(int, int);
card(const char*);
int get_rank() const;
char get_suit() const;
int get_suit_val() const;
private:
int rank;
int suit;
};
std::ostream & operator<<(std::ostream &, card const &);
bool operator==(const card&, const card&);
#endif //SOLITAIRE_PIP_CARD_H
|