c语言用一个单词替代给定字符串中的某个单词。
#include<stdio.h>#include<ctype.h>int main(void){ int i, j, x, del, beg = 1; char sen[200]; int newsen; char wor[20]; char sub[20]; puts("Please enter a sentence(no more than 150 chars):"); gets(sen); puts("Please enter a word y..
原创
2022-04-17 13:31:11 ·
1205 阅读 ·
0 评论