Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » C++ Question
Re: C++ Question [message #339990 is a reply to message #339988] Wed, 09 July 2008 14:42 Go to previous messageGo to previous message
N1warhead is currently offline  N1warhead
Messages: 319
Registered: May 2006
Location: On the Pc
Karma:
Recruit

dead6re wrote on Wed, 09 July 2008 16:29

"word" does not exist. There is a replacement called char which is an array. Or however you can look at the STD library for std::string.

int atoi( const char *str );
double atof( const char *str );
long atol( const char *str );


Most of the time you can cast between
int -> double/float

Don't go the other way though as you lose the decimal places.



Hmm STD Library?

AIDS
HIV
HEP B
HEP C
herpes
sars
I am sure there is more lol.


www.cncmodders.com All your C&C Modding Tutorials/Downloads/Forums, etc! Conquering the C&C universe with a rush of MEDS and MRLS!
 
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:26:21 MST 2024

Total time taken to generate the page: 0.00981 seconds