问题描述:
find_first_of函数的用法
string s="abcdefghijkabcddacb";
int i=s.find_first_of('b',1);
int j=s.find_first_of('b',2);
请问i,j等于多少?
函数括号里的第二个参数到底是什么意思?
int i=s.find_first_of('basdf',1);
int j=s.find_first_of('basdf',2);
这又等于多少?那第一个参数是是什么意思?是找basdf?还是找单个的?
string s="abcdefghijkabcddacb";
int i=s.find_first_of('b',1);
int j=s.find_first_of('b',2);
请问i,j等于多少?
函数括号里的第二个参数到底是什么意思?
int i=s.find_first_of('basdf',1);
int j=s.find_first_of('basdf',2);
这又等于多少?那第一个参数是是什么意思?是找basdf?还是找单个的?
问题解答:
我来补答展开全文阅读