串的基本操作的实现
摘要:
1.求子串://用sub返回串S的第pos个字符起长度为len的字串 bool SubString(SString &Sub,SString S,int pos,int len){ if(pos+len-1>S.length) return false; //子串范围越界 for(int i=pos 阅读全文
posted @ 2020-05-20 18:29 -#- 阅读(796) 评论(0) 推荐(0)
posted @ 2020-05-20 18:29 -#- 阅读(796) 评论(0) 推荐(0)
posted @ 2020-05-20 17:18 -#- 阅读(313) 评论(0) 推荐(0)
posted @ 2020-05-07 17:50 -#- 阅读(240) 评论(0) 推荐(0)
posted @ 2020-05-06 17:08 -#- 阅读(238) 评论(0) 推荐(0)
posted @ 2020-05-06 15:38 -#- 阅读(997) 评论(0) 推荐(0)
posted @ 2020-05-04 14:26 -#- 阅读(1185) 评论(0) 推荐(0)
posted @ 2020-05-03 19:19 -#- 阅读(1365) 评论(0) 推荐(0)
posted @ 2020-05-03 16:51 -#- 阅读(173) 评论(0) 推荐(0)