This question already has an answer here:
I want to change this C++ code to getter setter
cin.getline(pCurrPtr->m_Name, sizeof(pCurrPtr->m_Name));
to a SetName() function. How may I do this?
Aucun commentaire:
Enregistrer un commentaire