aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bruiser/bruiser.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h
index 7e4e6ae..4e9c2e7 100644
--- a/bruiser/bruiser.h
+++ b/bruiser/bruiser.h
@@ -79,17 +79,19 @@ namespace bruiser
#define NOT_IMPLEMENTED \
do{\
- std::cout << BROWN << "not implemented yet\n" << NORMAL;\
+ printf(BROWN "not implemented yet.");\
+ printf(NORMAL"\n");\
}while(0)
#define PRINT_WITH_COLOR(X,Y) \
do{\
- std::cout << X << Y << NORMAL;\
+ printf(X Y NORMAL);\
}while(0)
#define PRINT_WITH_COLOR_LB(X,Y) \
do{\
- std::cout << X << Y << "\n" << NORMAL;\
+ printf(X "%s", Y);\
+ printf(NORMAL"\n");\
}while(0)
/**********************************************************************************************************************/
/*Error Codes*/