//--------------------------------------------------------------------------- // ŠNikolai V. Shokhirev, 2004-2008 <nikolai@shokhirev.com> http://www.shokhirev.com/nikolai.html // Reduced demo version //--------------------------------------------------------------------------- #ifndef StringUtils_H #define StringUtils_H #include <string> #include <sstream> #include "Complex.h" //--------------------------------------------------------------------------- using namespace std; template <typename T> std::string ToString(const T& value) { std:ostringstream oss; oss << value; return oss.str(); } string ComplexToStr(Complex c); string BoolToStr(const bool& b); #endif