if you want that when user enter any number loop will terminate without adding that number into vector.
then check inside the loop if the number is negative break;
and if you want that...
Type: Posts; User: DanBrown
if you want that when user enter any number loop will terminate without adding that number into vector.
then check inside the loop if the number is negative break;
and if you want that...