Please help me resolve my class scopes
Code:// First.h #include "Second.h" class First { };Code:// Second.h #include "Third.h" class Second { };Code:// Third.h #include "Fourth.h" class Third { };I need to use class First in fourth, how do i do that?Code:// Fourth.h #include "First.h" class Fourth { // Got an error here because First includes Second, which includes third, which includes 'this' };



LinkBack URL
About LinkBacks



I used to be an adventurer like you... then I took an arrow to the knee.