2012年8月31日
摘要: 一.就构成单元字符而言1. 求字符串长度:int StrLength (s)2. 在某元素前插入一个字符:int InsertStr (s,e,char a)3. 在某字符后加入一个字符:int InsertStr(s,e,char a)4. 删除一个字符:int Get(s,char a)5. 判断是否有某个字符:int Index (s,e)6. 找与已给字符匹配的字符:int Locate(s,e)7. 输出与所给字符匹配的字符的位置:int Put(s,e,*p)8. 计算与所给字符匹配字符的个数:int Count(s,e)9. 用某字符替换另一个字符:int Substitute( 阅读全文
posted @ 2012-08-31 14:25 hcu5555 阅读(261) 评论(0) 推荐(0) 编辑