I\'m trying to do a simple task of reading space separated numbers from console into a vector, but I\'m not getting how to do this properly.
vector
Prompt user after each number or take number count in advance and loop accordingly. Not a great idea but i saw this in many applications.