Hey, I'm having trouble with my program. The user is going to input a chain of ints and I need to scan these into an array. But the problem is I need to whenever there is a space I need it to scan into the next arrays value. like this...
they input 1 2 3 12 43
this would mean that the array would get the values:
Does anyone know how I would do this?