i have to write a code in c++ and create a singleton class that can have only single object and creation of second or more objects gives compilation error. I know that 'static' keyword would be used but dont know how exactly?
Aucun commentaire:
Enregistrer un commentaire