cpp error
Hey,
I have a class called StateUtil and im trying to inherit this into Model class, but its not working. I get an error: Model.h:10: base class `StateUtil' has incomplete type Any idea????? Thanks raven Code:
#ifndef STATEUTIL_H Code:
class Model; |
Remove forward declarations from these files. You should use forward declarations, above other classes, when your not including the header file, not in the header files for the actual classes, and then only if you actually refrence the class in the declaration of the other.
If that makes sense to you... :D |
All times are GMT -5. The time now is 05:56 PM. |