"stoull"使用报错
程序代码:
#include <iostream> // std::cout #include <string> // std::string, std::stoull int main () { std::string str = "8246821 0xffff 020 -1"; std::string::size_type sz = 0; // alias of size_t while (!str.empty()) { unsigned long long ull = std::stoull (str,&sz,0); std::cout << str.substr(0,sz) << " interpreted as " << ull << '\n'; str = str.substr(sz); } return 0; } error C2039: 'stoull' : is not a member of 'std' error C2065: 'stoull' : undeclared identifier 是要添加额外的包还是说代码写错了