char c[1000];
errormsg = "Column ";
// errormsg += itoa(exc.getColumnNumber(),c,10);
+#ifdef WIN32
sprintf_s(c,"%d",(int)(exc.getColumnNumber()));
+#else
+ sprintf(c,"%d",(int)(exc.getColumnNumber()));
+#endif
errormsg += std::string(c);
errormsg += " Line ";
// errormsg += itoa(exc.getLineNumber(),c,10);
+#ifdef WIN32
sprintf_s(c,"%d",(int)(exc.getLineNumber()));
+#else
+ sprintf(c,"%d",(int)(exc.getLineNumber()));
+#endif
errormsg += std::string(c);
errormsg += " ";
char c[1000];
errormsg = "Column ";
// errormsg += itoa(exc.getColumnNumber(),c,10);
+#ifdef WIN32
sprintf_s(c,"%d",(int)(exc.getColumnNumber()));
+#else
+ sprintf(c,"%d",(int)(exc.getColumnNumber()));
+#endif
errormsg += std::string(c);
errormsg += " Line ";
// errormsg += itoa(exc.getLineNumber(),c,10);
+#ifdef WIN32
sprintf_s(c,"%d",(int)(exc.getLineNumber()));
+#else
+ sprintf(c,"%d",(int)(exc.getLineNumber()));
+#endif
errormsg += std::string(c);
errormsg += " ";