I was going through some C++ concept and came across private virtual functions. While exploring the same I came across someone suggestion to include main() as friend in the base class to get it compiled. I really dont understand this entire thing. Hope someone can help. Thanks.
Aucun commentaire:
Enregistrer un commentaire