I want to get input from the user and store it in a vector then output a random element.
I used push_back to push elements in a vector but I am having trouble getting a random element.
Whatever I used is for numbers but I want strings.
Aucun commentaire:
Enregistrer un commentaire