Chinaunix首页 | 论坛 | 博客
  • 博客访问: 335858
  • 博文数量: 100
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 521
  • 用 户 组: 普通用户
  • 注册时间: 2014-10-31 11:37
个人简介

活到老,学到老

文章分类

全部博文(100)

文章存档

2018年(1)

2017年(2)

2016年(11)

2015年(82)

2014年(4)

我的朋友

发布时间:2016-08-21 12:46:31

#include <iostream> #include <vector> #include <algorithm>//for_each头文件 using namespace std; int main(int argc, char *argv[]) {    vector <int> vec;    for (int i = 1; i <=10; i++)    {      &.........【阅读全文】

阅读(1137) | 评论(0) | 转发(0)

发布时间:2016-08-20 12:24:06

lambda表达式的语法定义如下:   [capture] (parameters) mutable ->return-type {statement};参数解释:    [capture]: 捕捉列表。               捕捉列表总是出现在lambda函数的开始处。实质上,[]是lambda引出符.........【阅读全文】

阅读(908) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册