So I have this class that was defined in a header(along with another class),but i decided i should create another header just for that class.
So now the class has it's own header and it's own cpp file.
I included it in all the files that need it.
The problem is,in the file where it was defined the first time(that header file),I have a global variable of it's type.And right now i get an error saying that the class it's not defined.
The header of the class is included,i also tried prototipying the class but still nothing.
BTW: I use header guards for all the classes.
What could be wrong?