#ifndef _CONVERT_H_ #define _CONVERT_H_ #include "nonstd.h" #include "nonstd_math.h" #include "nonstd_stl.h" #include "2d.h" typedef XY Pt2D; struct Convert { public: static int toInt(string s); static float toFloat(string s); static string toLowerCase(string s); static string toUpperCase(string s); static char toLowerCase(char c); static char toUpperCase(char c); template static string _toString(const T& value); static string toString(unsigned int v); static string toString(int v); static string toString(short v); static string toString(float v); static string toString(double v);// ze niby w badzie ma nie byc? ale w frams na pewno ma byc bo tu same double static string zeroPad(string s,int l) {while((int)s.length()