Header files interference
Hello.
I'm doing a project for an mp3 player. I have to clases GUI and Core. Core hava a constructor Core(GUI * gui). Both classes have a header file with something like:
//Core.h
#ifndef CORECLASS
#define CORECLASS
...//class delcaration
//end if
The problem is that I can't compile any of them. I have this message with G++ ans sunCC:
GUI.h:40: error: ISO C++ forbids declaration of 慍ore?with no type
GUI.h:40: error: expected ?before ?token
GUI.cpp have #include "Core.h" and Core.cpp have #include "GUI.h". If I remove this directives in any of the files, the output of the compiler is the same.
I need help

