Try std::stoull
if you are using C++11 or greater.
This post may also be of help. I didnt mark this as a duplicate because the other question is about C.
Try std::stoull
if you are using C++11 or greater.
This post may also be of help. I didnt mark this as a duplicate because the other question is about C.