查找target[]_string在 source[]_string中出现最右边的位置
通过int getline(char line[],int max)获得从键盘输入source[]_string,通过int strindex(char source[],char target[])查找char pattern[]在source[]_string的位置,若找到则返回位置,否则返回-1.
下载地址
用户评论