@coder777
Is that causing this particular compiler error? Your solution seems to address circular dependencies includes, which should already be handled by #pragma once .
@bilbsyy
I don't see a missing semicolon in your code you've posted. Inside all the files you've included, double-check that your class declarations all end in a semicolon.
Is that causing this particular compiler error? Your solution seems to address circular dependencies, which should already be handled by #pragma once .
#pragma once stops header files from being included more than once in the same translation unit. They don't magically fix circular dependencies.