how do you convert from a double to a string in c++..
i tried this...but i dont think its right (cause it doesnt work)
NOTE:currentTime is the new string and time is the double
/* convert double to string */
std::strstream strm(currentTime,time,0);
strm >> currentTime;