How can I get input from a user if they need to separate their inputs with a space (e.g. 1 2 3 4 5) and I want to put it in an array? Thanks.
Hmmm. I see that most of the answers use a vector, which I think I will need to do research. I thought there would be a simpler, but possibly more messianic answer, since we are not looking at vectors like using sscanf or something like that. Thanks for the input.
source share