Here, I have a class which is intended to be a superclass so that I can put a bunch of its subclasses in a set.
Here are the errors I get:Code:
virtual void draw(BITMAP* b) =0;
2 In file included from Player.cpp
5 variable or field `draw' declared void
5 `draw' declared as a `virtual' field
5 expected `;' before '(' token
[Build Error] [Player.o] Error 1
I'm compiling it with DevC++.
I see no problems here...