Is there a way to convert a string that the user inputs into an int * in C++?
int * add; string input; getline(cin, input); add = stoi(input);
Aucun commentaire:
Enregistrer un commentaire