stoi 当字符串不符合规范时,会抛出异常,所以你应该捕获异常来做。#include #include #include using namespace std;int main(){ std::string y ...
確定! 回上一頁