如题
http://blog.csdn.net/hxz_qlh/article/details/14110221
代码来自非原创
1 #include <iostream> 2 #include <cstdio> 3 4 using namespace std; 5 6 char *strstring(char *ParentString,char *SubString) 7 { 8 char *pSubString,*pParentString; 9 for(char *pTmp = ParentString; *pTmp !='