I need to know how to convert an 'Ansi String' to a 'constant char*' or even better how to convert an 'Ansi String' to a double (value).
String NewValue = OrigValue->Text;
constant = strtod(NewValue,&end);
However, I get the error
"can not convert 'Ansi String' to 'constant char*'"
I'm using C++ Builder and I have a TEdit box that I read Text values from, which I want to covert to numeric values.
Would apprciate any help.
Thanks in advance.