1 #include<stdio.h> 2 #define maxsize 100 3 typedef struct{ 4 char ch[maxsize]; 5 int n; 6 }SeqString; 7 8 void Assign(SeqString &L,char ch1[]){ // 数组赋值给字符串 9 int i=0; 10 while(ch1[i]!='
1 #include<stdio.h> 2 #define maxsize 100 3 typedef struct{ 4 char ch[maxsize]; 5 int n; 6 }SeqString; 7 8 void Assign(SeqString &L,char ch1[]){ // 数组赋值给字符串 9 int i=0; 10 while(ch1[i]!='