I have a class that has a static member, which I want to use in the class constructor, but the code doesn\'t compile, and I\'m left with these errors:
fat
In your .cpp you need to add:
Collection A::collection;
The .h only declared that there would be a copy somewhere. You need to provide that copy in the .cpp.