dimanche 24 mai 2015

Taking Multiple inputs in C++

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.

Aucun commentaire:

Enregistrer un commentaire