Question meaning

As this just a exercise question
just want to get some understanding

Create a template of function and how to use this replace and erase in string

this this replace and erase in string is what mean?
mind someone help explain?
I don't get the question. Why would want to create a template to modify something as concrete as a string. You know how to make a template function?

http://www.cplusplus.com/doc/tutorial/templates/
sorry . just make own revision . yeah i get it.
is when i copy the question i type wrong.
it's just normal template function.

then second question is clal us to learn str.erase and str.replace like that .
sorry for my typo mistake.
i dont understand your second question.

but you can find all the info you need about string, erase and replace here:
http://www.cplusplus.com/reference/string/string/
Topic archived. No new replies allowed.