执行下面 C++ 代码后将输出 。
int main()
{
string str="gEsP is Interesting";
int x = str.find("s");
cout << x << endl;
cout << endl;
return 0;
}
g3-03544.in输出g3-03544.out执行下面 C++ 代码后将输出 。
int main()
{
string str="gEsP is Interesting";
int x = str.find("s");
cout << x << endl;
cout << endl;
return 0;
}