C语言编程问题
/*申明,我不清楚你的程序是否对字符串的长度有限制,如果要求字符串长度可以没有极限,你可以给我邮箱发过来,因为,我必须要设计算法,下面我给出字符串长度限制在100个字符内的情况*/
#include
#include
#include
void main()
{
int i,j;
char s1[100],s2[100],s3[200];
gotoxy(10,8);/*文本光标定位函数,前面为纵坐标,后面为横*/
printf("please input string s1:");
gotoxy(10,10);
printf("please input string s2:");
goto...全部
/*申明,我不清楚你的程序是否对字符串的长度有限制,如果要求字符串长度可以没有极限,你可以给我邮箱发过来,因为,我必须要设计算法,下面我给出字符串长度限制在100个字符内的情况*/
#include
#include
#include
void main()
{
int i,j;
char s1[100],s2[100],s3[200];
gotoxy(10,8);/*文本光标定位函数,前面为纵坐标,后面为横*/
printf("please input string s1:");
gotoxy(10,10);
printf("please input string s2:");
gotoxy(40,8);
scanf("%s",s1);
gotoxy(40,10);
scanf("%s",s2);
for(i=0;i 收起