I'm using the istringstream class, and created an object of it, passing to its constructor a std::string. Then I use the >> operator multiple times to insert values into an int. I'm wondering if it can insert into a variable which already stores a value or not, since it worked once with one value (1), but failed with another value (2).