📄 substr.c
字号:
/*# proc: substring - determines if the first string is a substring of the# proc: the second provided string.*/#include <stdio.h>substring(s1, s2)char *s1, *s2;{ if((s1 == NULL) || (s2 == NULL)) return(0); if(strncmp(s1, s2, strlen(s1)) == 0) return(1); else return(0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -