template argument 1 is invalid (Code::Blocks Win Vista) – i don’t use templates
You have a cyclical dependency. Both files need one another to compile. Try forward-declaring User in group: Group.cpp Then in the Group.cpp file, include User. You can forward declare in the header anytime the object size doesn’t depend on the actual size of the object your forward declaring. In this case, (in Group) you use … Read more