Is there a way to replace any of the doubles with another double?
Example: Replace the first "9.000" with a "10.0".
Any tips on how to do this?
EDIT: I am aware that string::replace will do the trick, but how do I make it work for arbitrary cases? By arbitrary I mean that I don't know the size of the string to be replaced, I just want to be able to replace any number with a given number.