I just began learning C++ and had a rookie question.
Suppose I am given an input separated by spaces ex 2 4 56 or 2 1 10 15 or hi bye ok. How can I store the values in an array as the length of input is not know.
2 4 56
2 1 10 15
hi bye ok
Aucun commentaire:
Enregistrer un commentaire