C/C++庫函數strstr和find實現子字符串查找

1 子字符串查找實現Demo #include<iostream> #include<string> #include<cstring> using namespace std; int main() { char a[] = "abcddabc"; char b[] = "dda"; int j; string str1(a); string str2(
相關文章
相關標籤/搜索