What is the most optimal way to achieve the same as this?
void foo(double floatValue, char* stringResult) { sprintf(stringResult, \"%f\", floatV
If you use the Qt4 frame work you could go :
double d = 5.5; QString num = QString::number(d);