- 博客(2)
- 资源 (8)
- 收藏
- 关注
原创 字符串字典顺序比较
//使用迭代器进行字典顺序比较 template bool Compare(Iterator first1, Iterator last1, Iterator first2, Iterator last2) { for (; first1 != last1 && first2 != last2; ++ first1, ++ first2) { if (*first1 < *first2)
2012-09-25 16:26:41 5370
原创 在字符串中找出连续最长的数字串
写一个函数,它的原形是int continumax(char *outputstr,char *intputstr) 功能: 在字符串中找出连续最长的数字串,并把这个串的长度返回, 并把这个最长数字串付给其中一个函数参数outputstr所指内存。 例如:"abcd12345ed125ss123456789"的首地址传给intputstr后,函数将返回9, outputstr所指的值为1
2012-09-24 11:26:43 5911 1
Real-Time-Rendering
2015-08-17
斐波那契堆
2011-12-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人