gets(a);printf("Please input original string:\n");/*输入要替换的字符串*/ gets(s1);printf("Please input new string:\n");/*输入被替换成的字符串*/ gets(s2);len1=strlen(s1);len2=strlen(s2);if ((fp=fopen(a,"r"))==NULL)/*设定文件位于当前目录下,可更改为绝对路径*/ ...