I am making a project for my college and then there a problem occurred .. i knew it is time to come back here.
There are many files (10-12.. too many for me ) and each one has a header file. i have made separate folders like :
Register Folder : RegistersName.h Register.h (* == corresponfing cpp) files *.cpp
Database Folder : RegisterDB.h InstructionDB.h *.cpp
Instrucion Folder : Instrucion.h *.cpp
Compiler Folder : Compiler.h *.cpp
Command Folder : Command.h *.cpp
Now many of these header files are "seeing" each other therfore i have to include them..
should i include like
In file Compiler.h
#include "../Database/RegisterDB.h"
#include "../Register/Register.h"
#include "../Register/RegistersName.h"
I sincerely think that it is not the write way to do that. because shifting some files here and there would ruin the project .:( please guide me.
thanks for helping me everytime.