summaryrefslogtreecommitdiff
path: root/offsetProject/src/imageStore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'offsetProject/src/imageStore.cpp')
-rw-r--r--offsetProject/src/imageStore.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/offsetProject/src/imageStore.cpp b/offsetProject/src/imageStore.cpp
new file mode 100644
index 0000000..da6241d
--- /dev/null
+++ b/offsetProject/src/imageStore.cpp
@@ -0,0 +1,8 @@
+#include "imageStore.h"
+
+long ofToLong(const string& intString) {
+ long x = 0;
+ istringstream cur(intString);
+ cur >> x;
+ return x;
+} \ No newline at end of file