Hi guys,
It has been too long since I was last here to ask a question. Okey here is my problem:
I am coding a map editor for my friends game and I have a problem. When I try to ...(I dont know the verb, sorry :D) static private variable in my class it gives the error in title.
To elaborate on what giblet said, you access a member to change its value, or use its value in some greater scheme, but you initialize a member to a default value inside the scope of the class.
That's what the double-colon :: operator does. It's called the scope operator, and even if you're initializing or defining something outside of the scope delimiters of a class {} aka curly braces, you're still technically in the scope of the class if you use the scope operator to specify that you are.
Hence Map::size which can be read as "Map member size."