Hi there,basically my problem is that I'm making a DirectX program,I made all function prototypes in a header - prototype.h and the bodies in the other .cpp files,and all .cpp files include prototype.h and prototype.h includes all .cpp files,I also use
Header files include other header files, not CPP files. CPP files can include other CPP files and of course, header files. So including all CPP files inside the header files is a big No No.
I know Peter, but no guidelines have guided this poor fellow into this mess, so it is really best not to mention those details at least for now, for the sake of teaching.