C++ has no type long long, that is a C99 type
If your compiler supports
long long , you may
strtoll()at your disposal
Though, as Banfa noted, your code will not be standard C++.
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.