Question meaning

Lim Boon Jye (53)
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?
Lim Boon Jye (53)
mind someone help explain?
coder777 (2550)
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/
Lim Boon Jye (53)
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.
Darkmaster (494)
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.