Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » C++ Question
Re: C++ Question [message #339988 is a reply to message #339983] Wed, 09 July 2008 14:29 Go to previous messageGo to previous message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma:
Colonel
"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.


Let all your wishes be granted except one, so you will still have something to strieve for.

[Updated on: Wed, 09 July 2008 14:32]

Report message to a moderator

 
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:46:10 MST 2024

Total time taken to generate the page: 0.00928 seconds