Hi there! In my struggle to reduce the amount of global variables in my programs, I've come across a little problem.
I have a class that need list of names, which used to be a global array of std::wstring. So I though I could make it a static data member within the class, but aparently not.
My knowledge of how static stuff works is rather slim, so help me out :)
Here is the class. I've removed the irrelevant parts:
What you have is only a declaration. You need also to put a definition of RVNames outside the class, in a source file. std::wstring Sprite::RVNames[5];