From bb852cee91b52b71fccade7d4a1ef065eb0de2f0 Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 14 Mar 2014 00:51:24 +0000 Subject: nice --- test-tycbutton/src/buttonChecker.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test-tycbutton/src/buttonChecker.cpp (limited to 'test-tycbutton/src/buttonChecker.cpp') diff --git a/test-tycbutton/src/buttonChecker.cpp b/test-tycbutton/src/buttonChecker.cpp new file mode 100644 index 0000000..b8170e8 --- /dev/null +++ b/test-tycbutton/src/buttonChecker.cpp @@ -0,0 +1,8 @@ +#include "buttonChecker.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