我正在嘗試將字串解析為整數,但我不確定自己在做什麼錯: string input; cin >> input; int s = std::stoi(input); 這將不會生成並引發錯誤:“stoi” ...
確定! 回上一頁