#include <ctime>
#include <iomanip>
+// needed for _mkdir
+#if defined(_WIN32)
+#include <direct.h>
+#endif
+
#include "masking.h"
#include "stickletrack.h"
#include "tracking.h"
#if defined(_WIN32)
Props.basedir = getenv("HOMEDRIVE");
Props.basedir += getenv("HOMEPATH");
+ Props.basedir += "\.stickletrack";
#else
Props.basedir = getenv("HOME");
+ Props.basedir += "/.stickletrack";
#endif
- Props.basedir += "/.stickletrack";
-
cout << "Using " << Props.basedir << " for data output." << endl;
}