实验做业:编写算法,顺序串的操做StrCompare(S,T),Strlength(S)

代码 #include <iostream> using namespace std; typedef struct { char data[50]; int length; }SqString; bool Strcmp(SqString &s,SqString &t)//比较串 { int i; if(s.length==t.length)//首先比较长度
相关文章
相关标签/搜索