diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-03-14 14:07:28 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-03-14 14:07:28 +0000 |
| commit | bcf4c0ac5428a1c3f331d66cf0c4a301d1f7a45f (patch) | |
| tree | ef4011c68ae756815aa47da218029801e9c56ec6 /offsetProject/src/buttonChecker.cpp | |
| parent | bb852cee91b52b71fccade7d4a1ef065eb0de2f0 (diff) | |
nearly ready
Diffstat (limited to 'offsetProject/src/buttonChecker.cpp')
| -rw-r--r-- | offsetProject/src/buttonChecker.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/offsetProject/src/buttonChecker.cpp b/offsetProject/src/buttonChecker.cpp new file mode 100644 index 0000000..b8170e8 --- /dev/null +++ b/offsetProject/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 |
