#include <sys/wait.h>
#include <sys/time.h>
#include <sys/resource.h>
+ #include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <direct.h> //get cwd
#include <windows.h>
#include <psapi.h>
-
+ #include <direct.h>
#endif
using namespace std;
}
//**********************************************************************************************************************
+template<class T>
+T fromString(const string& s){
+ istringstream stream (s);
+ T t;
+ stream >> t;
+ return t;
+}
+
+//**********************************************************************************************************************
+
#endif