Any idee how to do this ?

Recommended Answers

All 2 Replies

C++ has no type long long, that is a C99 type

If your compiler supports long long , you may

  • get lucky with std::stringstream
  • have strtoll() at your disposal

Though, as Banfa noted, your code will not be standard C++.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.