I have a .cpp file and a .h file in my .h file I have difinitions...
I have probably 20 definitions in my .cpp
I use THIS_THING and my compiler g++ says it doesn't exist...
I have a #include "myheader.h"
What is wrong???
Last edited on
#define BLACK_BG \033[7;30m"
Etc every color for background , text, bold, dark, underline, etc
You have an #ifdef there, did you mean #ifndef for include guards?
Thanks I just assumed it was ifdef...
#ifdef means "if defined", so if that macro wasn't defined nothing inside will be compiled.
Yeah I always wondered about that I would read .h files and see
But I thought it said