From 8f9a8b4c06bb168b91cb0a3971c3dc37fb67220f Mon Sep 17 00:00:00 2001 From: Comment Date: Wed, 12 Mar 2014 09:16:46 +0000 Subject: image store working --- offsetProject/src/imageStore.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 offsetProject/src/imageStore.cpp (limited to 'offsetProject/src/imageStore.cpp') 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 -- cgit v1.2.3