C++ Builder newbie ?
Posted on 1998-09-01
I am a moderately experienced C programmer with a good basic understanding of C++ in a DOS environment. I am learning Borland C++ Builder and would like some help with string conversions.
I simply want to be able to use the VCL standard "AnsiString" you get from a text field, etc. with regular C conversion functions, such as atoi() or _ltoa(). Is there a data member of an AnsiString I should access, or are there VCL conversion functions I should use instead?
long Calc1=1.3, Calc2=0.25;
Control->Text=(_ltoa(Calc1/Calc2)); // Simply won't work
Thanks much in advance!