Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » C++ Question
Re: C++ Question [message #340014 is a reply to message #340009] Wed, 09 July 2008 18:26 Go to previous messageGo to previous message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma:
General (1 Star)
HeavyX101 wrote on Wed, 09 July 2008 19:27

Ok, this is what i did:
char* preset = atof(Text[1].c_str());

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




atof returns a float or a double...
 
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 05:20:12 MST 2024

Total time taken to generate the page: 0.01009 seconds