Figures Vector
How read any number of single digits into a vector in C++?
Say the user types in: 2 4 2 2 3
How do I get those into a vector using istreams? I want it to execute code after an eof() (ctrl-z/d)…. Just can’t seem to figure it out…
include
#include
#include
using namespace std;
main()
{
[...]