Double conversion???

  • Thread starter Thread starter Duncan Winn
  • Start date Start date
Duncan said:
How can I convert from a double variable to a char* ???

There are a variety of options, including C I/O, the _ecvt / _fcvt /
_gcvt library functions (which may not be portable), or a "lexical_cast"
through a stringstream (see boost::lexical_cast).
 
Back
Top