Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » C++ Question
Re: C++ Question [message #340017 is a reply to message #340014] Wed, 09 July 2008 18:31 Go to previous messageGo to previous message
HeavyX101- Left is currently offline  HeavyX101- Left
Messages: 633
Registered: April 2008
Location: WindowsJail=ZipFolder
Karma:
Colonel
Now, i got this:
char* preset = Text[1].c_str();


And the error i got is:
Error	1	error C2440: 'initializing' : cannot convert from 'std::string' to 'char *'	c:\Westwood\RenegadeFDS\Server\gmmain.cpp	2477


This account is no longer being active.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Steath effect skin
Next Topic: DUB Hummer
Goto Forum:
  


Current Time: Fri Dec 27 06:17:51 MST 2024

Total time taken to generate the page: 0.00928 seconds