"Replace" command ?
hi
In small i used the "replace" command to replace a string in a string But I don' t know what is this command in C++ Like Code:
strcpy(prepare_hud, "Round $rn"); What the true code? :? Sorry for this noob question ... |
It's much easier if you use std::strings :
Code:
void ReplaceTerm(std::string& strDest, const char* lpcTerm, const char* lpcReplace){ |
Except std strings are evil and shit...
|
Quote:
|
Thx
Where have you find it plz? Or have you got an example? ( Because i don' t know what is std lol ) |
Try to google on STL C++ or something ^^
The std::string class is part of the Standard Template Library (STL). Example: Code:
#include <string> |
Quote:
I forgot THE google lOl Thx |
I dont know If I should say what everyone is thinking or not
|
Quote:
you can tell it lol |
All times are GMT -4. The time now is 17:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.