顺序串各类基本运算的算法

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
相关文章
相关标签/搜索