¡@

Home 

c++ Programming Glossary: stuffcollection.h

Circular Dependencies / Incomplete Types

http://stackoverflow.com/questions/7666665/circular-dependencies-incomplete-types

dependencies incomplete types. The situation is as follows Stuffcollection.h #include Spritesheet.h class Stuffcollection public void myfunc.. spritesheet spritevar void myfunc2 Spritesheet.h #include Stuffcollection.h class Spritesheet public void init Spritesheet.cpp void Spritesheet.. the compiler error spritesheet has not been declared in Stuffcollection.h line 4 in the above . I understand this to be due to a circular..