aboutsummaryrefslogtreecommitdiff
path: root/src/main/Card.h
diff options
context:
space:
mode:
authorCharlie Blake2017-10-13 19:05:13 +0100
committerGitHub2017-10-13 19:05:13 +0100
commitc1f4a1a4368bd45747f864910ae5136dccb857a6 (patch)
treeb3bdce7b7cd6c46f6928368f2c91f9d994fc48e7 /src/main/Card.h
parentMerge pull request #8 from thecharlesblake/docs (diff)
parentUpdate build instructions with new install (diff)
downloadmetasol-c1f4a1a4368bd45747f864910ae5136dccb857a6.tar.gz
metasol-c1f4a1a4368bd45747f864910ae5136dccb857a6.zip

Merge pull request #10 from thecharlesblake/project-setup-cpp

Project setup cpp

Diffstat (limited to 'src/main/Card.h')
-rw-r--r--src/main/Card.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/Card.h b/src/main/Card.h
new file mode 100644
index 0000000..651df71
--- /dev/null
+++ b/src/main/Card.h
@@ -0,0 +1,19 @@
+//
+// Created by thecharlesblake on 10/11/17.
+//
+
+#ifndef SOLITAIRE_PIP_CARD_H
+#define SOLITAIRE_PIP_CARD_H
+
+#include <string>
+
+struct Card {
+ Card(const int, const std::string);
+ const int rank;
+ const std::string suit;
+};
+
+std::ostream & operator<<(std::ostream &, Card const &);
+
+
+#endif //SOLITAIRE_PIP_CARD_H