Please forgive me if this topic is redundant. I've searched and couldnt find anything.
I'm a bit confused here as i'm trying to split my cpp program into 3 separate files using Visual Studio.
main.cpp includes interface.h
interface.h include implementation.cpp
implementation.cpp includes interface.h
I get an error message too many include files : depth = 1024 1> Generating Code...
on #include "interface.h" within implementation.cpp.
Please tell me what i'm doing wrong?
I also went into the solution explorer and tried manually adding the .h file under "headers" and .cpp files under" source files". nothing is working.