[Solved] can a pure virtual function has parameters?
yes, a PVF can have parameters. virtual void playCard(Player enemyPlayer) = 0; here = 0 (is not assigning), Simply we are informing to compiler that function will be pure and does not having any body(where its declared, in that class), but it can have parameter. From the n4659 C++ standard A pure virtual function need … Read more