diff options
author | ipknHama <ipknhama@gmail.com> | 2014-04-15 00:31:51 +0900 |
---|---|---|
committer | ipknHama <ipknhama@gmail.com> | 2014-04-15 00:31:51 +0900 |
commit | 53debf7e2cb494d8ea89205812bf792e8e9354da (patch) | |
tree | c0195ecc0673b794087c99908a2314dfc8a0ff31 /unittest.cpp | |
parent | 7ec586556e348725bff3919f4787a75d71c520fa (diff) | |
download | crow-53debf7e2cb494d8ea89205812bf792e8e9354da.tar.gz crow-53debf7e2cb494d8ea89205812bf792e8e9354da.zip |
parameter passing done for int
Diffstat (limited to 'unittest.cpp')
-rw-r--r-- | unittest.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/unittest.cpp b/unittest.cpp index 09718c2..eaf4466 100644 --- a/unittest.cpp +++ b/unittest.cpp @@ -1,6 +1,10 @@ -#include "routing.h" -#include <functional> +#include <iostream> +using namespace std; int main() { + //cout << strtol("+123999999999999999999", NULL, 10) <<endl; + //cout <<errno <<endl; + cout << strtol("+9223372036854775807", NULL, 10) <<endl; + cout <<errno <<endl; } |