A voir également:
- Replace en C++
- S.m.a.r.t status bad, backup and replace français - Forum Matériel & Système
- S.M.A.R.T Status Bad, Backup and Replace, données - Forum BIOS
- Smart status bad, backup and replace ✓ - Forum Matériel & Système
- Please backup your data and replace your hard disk ✓ - Forum Windows
- Sql replace plusieurs valeurs - Forum Programmation
1 réponse
Hum tu es sûr d'avoir bien cherché ?
http://www.google.fr/search?q=stl+string+replace
donne
http://www.msoe.edu/eecs/cese/resources/stl/string.htm
Delete a substring from the current string, and replace it with another string. The substring to be deleted is specified in the same way as in erase, except that there are no default values for pos and n.
Bonne chance
http://www.google.fr/search?q=stl+string+replace
donne
http://www.msoe.edu/eecs/cese/resources/stl/string.htm
string& replace(size_type pos, size_type n, const string& str);
Delete a substring from the current string, and replace it with another string. The substring to be deleted is specified in the same way as in erase, except that there are no default values for pos and n.
string str14 = "abcdefghi"; string str15 = "XYZ"; str14.replace (4,2,str15); cout << str14 << endl; // "abcdXYZghi" Note: if you want to replace only a single character at a time, you should use the subscript operator ([]) instead.
Bonne chance