I am writing a program which require me to extract certain integers in the input string.
For example,
input string "this is 10th line of page 234" i want to extract the int 10 and 234. which function should i use to this?(find_first_of(), find_last_of(), substr() or atoi() )and how do i do it? I am not really know how to use the above functions.
Please help, thank you.