順序串各類基本運算的算法

sqstring.cpp中源程序代碼:測試 #include <stdio.h> #define MaxSize 100 typedef struct { char data[MaxSize]; int length; } SqString; void StrAssign(SqString &s,char cstr[])//將字符串常量賦給串s { int i; for(i=0; cstr[i
相關文章
相關標籤/搜索