found=1 } temp=cht; }
temp=&temp[j]; /* 回到字符串t的某一位置*/ }
s[i]=chs; }
s=&s[i]; /* 回到字符串s的某一位置*/ }
if(maxlen==0)
return NULL; /* 未找到最长公共单词,返回NULL */ else{
res[maxlen+1]=?\\0?;
return res; /* 找到最长公共单词,返回该单词 */ } }
百度搜索“70edu”或“70教育网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,70教育网,提供经典综合文库北航软院专业课2024真题及答案(3)在线全文阅读。
相关推荐: