實驗做業:編寫算法,順序串的操做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)//首先比較長度
相關文章
相關標籤/搜索