Raised This Month: $ Target: $400
 0% 

"Replace" command ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cr3V3TT3
Senior Member
Join Date: Jul 2004
Location: V'dauban
Old 01-22-2005 , 16:03   "Replace" command ?
Reply With Quote #1

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");
replace(prepare_hud, 127 , "$rn", "3");
i wan' t prepare_hud = "Round 3"

What the true code?

Sorry for this noob question ...
Cr3V3TT3 is offline
Send a message via MSN to Cr3V3TT3
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode