Search found 18 matches

Why does Player.h create two instances of itself in its public definition?

In player.h, it opens the class CPlayer and starts with these lines public: CPlayer(); virtual ~CPlayer(); My first question is what exactly is virtual and what is the ~ mean next to the CPlayer (For some reason ~ looks like a dash on this forum, it is a tilde(squiggly line))? Secondly, What is the ...

Go to advanced search