summaryrefslogtreecommitdiffstats
path: root/card.h
diff options
context:
space:
mode:
Diffstat (limited to 'card.h')
-rw-r--r--card.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/card.h b/card.h
index 8703d05..f282173 100644
--- a/card.h
+++ b/card.h
@@ -1,9 +1,19 @@
#ifndef _CARD_H_
#define _CARD_H_
+#include <cstdio>
#include <iostream>
#include <string>
+#define ANSI_COLOR_RED "\x1b[31m"
+#define ANSI_COLOR_GREEN "\x1b[32m"
+#define ANSI_COLOR_YELLOW "\x1b[33m"
+#define ANSI_COLOR_BLUE "\x1b[34m"
+#define ANSI_COLOR_MAGENTA "\x1b[35m"
+#define ANSI_COLOR_CYAN "\x1b[36m"
+#define ANSI_COLOR_RESET "\x1b[0m"
+#define PRINT_COLOR(C, S) printf("%s%s%s", C, S, ANSI_COLOR_RESET)
+
using std::string;
using std::cout;
using std::endl;
@@ -28,8 +38,6 @@ class Card
string getType(void);
void rankCard(void);
void sortCards(Card **);
-
-
};
#endif