STL
文章平均质量分 87
zhangyulin54321
这个作者很懒,什么都没留下…
展开
-
STL-----------accumulate
如果要想真正学好STL 提供网站 http://www.cplusplus.com/reference/algorithm/count/ template T accumulate ( InputIterator first, InputIterator last, T init ); template T accumulate ( InputIterator fi原创 2012-08-15 20:57:34 · 804 阅读 · 0 评论 -
STL系列------算法---------inner_product
如果要想真正学好STL 提供网站 http://www.cplusplus.com/reference/algorithm/count/ inner_product template T inner_product ( InputIterator1 first1, InputIterator1 last1, InputIte原创 2012-08-15 20:16:08 · 1391 阅读 · 1 评论 -
STL-----------------adjacent_difference
如果要想真正学好STL 提供网站 http://www.cplusplus.com/reference/algorithm/count/ template OutputIterator adjacent_difference ( InputIterator first, InputIterator last,原创 2012-08-15 21:25:32 · 500 阅读 · 0 评论 -
STL-------------equal_range:返回在特定范围中指定的元素的上下界
要想学好STL中的算法:http://www.cplusplus.com/reference/algorithm/equal_range/ 是很好的网站 #include #include #include using namespace std; bool mygreater (int i,int j) { return (i>j); } int main () {原创 2012-08-16 10:20:52 · 648 阅读 · 0 评论 -
STL-------------partial_sum
如果要想真正学好STL 提供网站 http://www.cplusplus.com/reference/algorithm/count/ template OutputIterator partial_sum ( InputIterator first, InputIterator last, Outpu原创 2012-08-15 20:58:43 · 1490 阅读 · 0 评论 -
STL--------------count
template typename iterator_traits::difference_type count ( ForwardIterator first, ForwardIterator last, const T& value ); Count appearances of value in range Returns the number of elements原创 2012-08-16 09:10:42 · 446 阅读 · 0 评论 -
c++中STL怎样编写自己的函数对象
#include #include #include using namespace std; template class is_odd { public: typedef Arg argument_type; typedef Result res; bool operator() ( const int& value)const {return (va原创 2012-09-03 15:09:39 · 679 阅读 · 0 评论 -
学好STL 提供网站
学好STL 提供网站 http://www.cplusplus.com/reference/algorithm/count/原创 2012-10-17 21:31:36 · 478 阅读 · 0 评论 -
c++,或者cococ2dx怎么利用jsonbox写入数据到json文件
下面代码写入到json文件的结果是 { "BluetoothInfo": [ "devicename":"HTC1", "deciceStatus":1, "deviceType":2, "deviceID":"D8:Y3:54:67" ] } /////写入json数据 void BlueTooth原创 2016-01-08 10:07:21 · 1335 阅读 · 0 评论