🌈 搜索
📅  最后修改于: 2022-03-11 14:44:50.571000             🧑  作者: Mango
string bin_string = "10101010"; int number =0; number = stoi(bin_string, 0, 2); // number = 170