64,636
社区成员
发帖
与我相关
我的任务
分享
int main(){
string a = "1,1900";
string b = "0123456789";
string::size_type pos0 = a.find_first_not_of(b, 0);
string::size_type pos1 = a.find_last_not_of(b, 0);
cout<<"pos0: "<<pos0<<"\npos1: "<<pos1<<endl;
return 0;
}