/*********************************************************
- Copyright (C): 2016
- File name : commonstring.c
- Author : - Zxn -
- Date : 2016年08月28日 星期日 16时31分21秒
- Description :
* *******************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char *commonstring(char *str1, char *str2)
{
int i;
int j;
char *shortstr;
char *longstr;
char *substr;
//参数检测
[C/C++笔面试]编程查找两个字符串中的最大公共子串
最新推荐文章于 2022-03-26 00:44:17 发布