摘要:
1 #include <stdio.h> 2 #define MAX 10 3 void MatrixMutiply(int m,int n,int l,int MatrixA[MAX][MAX],int MatrixB[MAX][MAX],int MatrixResult[MAX][MAX]) 4 阅读全文
posted @ 2016-11-07 17:28
OVER_AGAIN_THIS
阅读(279)
评论(0)
推荐(0)
摘要:
或将if (strstr(s,t)!=NULL);改一下 子串要求连续的出现在母串中; strstr函数:strstr(str1,str2) 函数用于判断字符串str2是否是str1的子串。如果是,则该函数返回str2在str1中首次出现的地址;否则,返回NULL。 str1: 被查找目标 stri 阅读全文
posted @ 2016-11-07 17:26
OVER_AGAIN_THIS
阅读(1226)
评论(0)
推荐(0)
摘要:
1 #include <stdio.h> 2 #include <string.h>//添加字符串头文件 3 4 int Subsequence(char s[], char t[]) 5 { 6 int m,n,i,j; 7 n = strlen(s); //n表示序列S的长度 8 m = str 阅读全文
posted @ 2016-11-07 17:08
OVER_AGAIN_THIS
阅读(3210)
评论(0)
推荐(0)

浙公网安备 33010602011771号