1
Graphics / Re: [SOLVED]SFML Access violation
« on: August 25, 2015, 02:11:01 am »All member variables are only declared once, in the class declaration (header file), unless they are static members. In which case, they must also be defined (also initialized here too) (source file).Yeah, I realize now that it was because I wasn't preceding my functions with the class name and two colons.
If this double declaring thing has worked for you before, it's mostly due to luck, and not using more than one instance of a class, would be my guess.
I had tried that, then realized that I forgot to fix the colon thing, then I would fix it and the double declaration would still be there.