In various problem you have to find the number which is present in the string.? so for this we can use istringstream number_iss(the string you input). take a variable of integer example: a and then access the number_iss>>a; You can count the total number in the string,you can easily find out the maximum and minimum of the numbers present in the string.




