Mail Archives: djgpp/1997/02/24/00:49:07
Michael Dylan Ryan wrote:
>
> Can someone tell me if there is a function to convert a floating point
> number to a string in DJGPP 2.0. I can not find one. In borland it is
> FCVT(). Please help.... thanks
That function is non-ANSI, so you can't count on it being in every
compiler. If you want to make your own version, just write a function
and have it sprintf() the float value into a string. Simple. :)
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| God's final message to His Creation: | http://www.cs.com/fighteer |
| "We apologize for the inconvenience."| Fight against proprietary |
| - Douglas Adams | software - support the FSF!|
---------------------------------------------------------------------
- Raw text -