Re: C++ Question [message #340000 is a reply to message #339988] |
Wed, 09 July 2008 15:21 |
HeavyX101- Left
Messages: 633 Registered: April 2008 Location: WindowsJail=ZipFolder
Karma:
|
Colonel |
|
|
dead6re wrote on Wed, 09 July 2008 17: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.
|
Thanks for the fast reply, but i didnt find anything that could go in this(HERE) :
Quote: | HERE preset = atof(Text[1].c_str()); = finds the word from the message.
|
Does anyone know it. Reborn could of help if i didnt ***** but thats life.
This account is no longer being active.
|
|
|