I'm pretty new to programming and I'm wondering if there is a way in c++ to make a "while (there still are new values) {...}" By that I mean that, if you insert 6/50/400 values then press enter, it does the while operation 6/50/400 times, for each of the new values. Try to keep it simple if you can, I'm just a newcomer, and thanks in advance!
EDIT: Oh, right! Sorry guys, I didn't know there are books about C++. My bad! :D