Aug 19, 2013 at 2:11pm Aug 19, 2013 at 2:11pm UTC
C++11 also added the useful std::to_string(), std::to_wstring() and other conversion.
Stuff to strings
http://en.cppreference.com/w/cpp/string/basic_string/to_string
http://en.cppreference.com/w/cpp/string/basic_string/to_wstring
String to integers
http://www.cplusplus.com/reference/string/stoi/
String to double
http://www.cplusplus.com/reference/string/stod/
String to float
http://www.cplusplus.com/reference/string/stod/
All them also provide extra functions to convert from lets say string to long long or string to long double.
Aug 19, 2013 at 7:11pm Aug 19, 2013 at 7:11pm UTC
awesome, thanks a lot guys. I will spend some time studying everything you have given me, and will be back with a lot more questions when I feel I'm ready. thanks again, especially for ur code and references