`
Be_Q
  • 浏览: 3681 次
  • 来自: 苏州
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

2014.9.21

 
阅读更多
1.迭代器,用于遍历容器(比如vector和数组等)和string,有begin()和指向最后一个元素的后一个位置的end();
2.数组指定大小,vector大小可变,但是不允许在范围for循环内改变vector的容量大小,因为这样会使迭代器失效,失效是违法的。
3.指针是数组的迭代器,和数组关系精密。若有数组a[10]表现在:
  (1)告诉我们数组名a,编译器会将其转化为指针,将其替换为一个指向数组首元素的指针p,从而通过对指针的操作访问数组,即指针p=a或者p=&a[0];
   (2)数组是个迭代器,begin=p;end=&a[10],这就是a[10]存在的唯一意义。尾后指针end不能执行解应用和递增操作。
分享到:
评论

相关推荐

    安哥拉各区块基本信息(2014.2.21).rar

    免责声明:资料部分来源于合法的互联网渠道收集和整理,部分自己学习积累成果,供大家学习参考与交流。收取的费用仅用于收集和整理资料耗费时间的酬劳。 本人尊重原创作者或出版方,资料版权归原作者或出版方所有,...

    微信通源码+wap手机版

    2014.9.26 手机产品详情页选择颜色属性,取消隐藏 2014年9月11号更新 修复PC版首页参团人数不变化问题 2014年9月7号更新 修复手机版切换电脑版和首页楼层增加,可以推荐6个分类下的热销 2014年9月3号更新 修复...

    ECTouch企业版+ecshop微信商城+微信支付+微信通源码.rar

    2014.10.21 手机会员中心推荐分成增加分成之后的订单号、分成所得积分、现金状态显示 2014.10.21 购物车里和提交结算页面增加了继续购物按钮,一键返回继续选择商品! 2014.10.20 后台粉丝管理升级,认证服务号可以...

    Google C++ International Standard.pdf

    9 4.6 Program execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.7 Multi-threaded executions and data races . . . . . . . . . . . . . . . . . . . . . . . ....

    solaris10.zip

    binutils-2.23.1,REV=2012.12.04-SunOS5.10-i386-CSW.pkg.gz libgmp10-6.0.0,REV=2014.10.29-SunOS5.10-i386-CSW.pkg.gz cas_etcshells-1.50,REV=2015.01.17-SunOS5.10-all-CSW.pkg.gz libiconv2-1.14,REV=2012.11....

    40集SQL Server 基础入门视频教程 SQL Server 数据库基础入门必备课程.txt

    21.SQL Server 2014聚合函数AVG() SUM().mp4 22.SQL Server 2014聚合函数MIN() MAX().mp4 23.SQL Server 2014COUNT和SUM()函数.mp4 24.SQL Server 2014 LEN()函数.mp4 25.SQL Server 2014随机数的产生.mp4 26....

    SQL Server 2014基础入门视频教程 (40集,含课件)

    21.SQL Server 2014聚合函数AVG() SUM().mp4 22.SQL Server 2014聚合函数MIN() MAX().mp4 23.SQL Server 2014COUNT和SUM()函数.mp4 24.SQL Server 2014 LEN()函数.mp4 25.SQL Server 2014随机数的产生.mp4 26....

    bpi_a64_android初步编译为LCD显示20170309_1442.7z

    21. bpi_m64_hdmi-user 22. bpi_m64_hdmi-userdebug 23. bpi_m64_lcd-eng 24. bpi_m64_lcd-user 25. bpi_m64_lcd-userdebug Which would you like? [aosp_arm-eng] 23 =====================================...

    华为HCIE面试题库

    华为HCIE2014最新面试题库 第一部分: 二层技术 ..................................................................................................................... 2 一、edge port .......................

    ESETNOD32—v4.8.8.0

    [2014.08.08]v4.8.8.0 01、【修正】ESETID误判,特此感谢haijie1223反馈。 02、【更新】ESET版本线路(快准狠) 03、【新增】内置ID线路 [2014.02.26]v2.0.1.2 01、【修正】ESET误报问题 [2013.08.27]v2.0.1.1 01...

    40集SQL Server 基础入门视频教程 SQL Server 数据库基础入门必备课程

    21.SQL Server 2014聚合函数AVG() SUM().mp4 22.SQL Server 2014聚合函数MIN() MAX().mp4 23.SQL Server 2014COUNT和SUM()函数.mp4 24.SQL Server 2014 LEN()函数.mp4 25.SQL Server 2014随机数的产生.mp4 26....

    iOS.8.App.Development.Essentials

    Chapter 21. Implementing iOS 8 Auto Layout Constraints in Code Chapter 22. Implementing Cross-Hierarchy Auto Layout Constraints in iOS 8 Chapter 23. Understanding the iOS 8 Auto Layout Visual Format ...

    Greenplum数据库架构.pdf

    学习 · 创造 · 超越 · 共享 Greenplum 架构 P9平台组 林舒杨 PostgreSQL数据库 基于BSD许可证发布 1985年开始于UC Berkeley的Ingres计 划 1995.7.21发布0.03版本 2014.3.20发布9.3.4版本 PostgreSQL特征 函数: ...

    c1130-k9w7-tar.124-21a.JY.tar

    CISCO aironet 1130AG series AP Latest Releases

    EurekaLog_7.5.0.0_Enterprise

    31)..Fixed: Removed exported helper _462EE689226340EAA982C5E8307B3F9E function (replaced with mapped file) 32)..Changed: Descriptions of EurekaLog project options now list corresponding property names...

    yilia:一个简单而优雅的 Hexo 主题。 从 https 分叉

    hexo-theme-yiliaYilia 是为 2.4+...以后也不会##一、近期更新2015.2.21 - 移动侧重构&布局bug修改2014.11.7 - 增加“友情链接”“关于我”2014.10.22 - 优化fancybox展示2014.10.16 - 增加表格样式2014.9.19 - 云标签

    CAD2014颜色索引ACI对应的RGB值.zip

    cad2014索引色的值 10 255 0 0 11 255 127 127 12 165 0 0 13 165 82 82 14 127 0 0 15 127 63 63 16 76 0 0 17 76 38 38 18 38 0 0 19 38 19 19 20 255 63 0 21 255 159 127 22 165 41 0 23 165 103 82 ...

    阿里云物联网智能灯控制APP的android studio源代码

    android studio编写的阿里云...Build #AI-211.7628.21.2111.8193401, built on February 17, 2022 Runtime version: 11.0.11+9-b60-7590822 amd64 VM: OpenJDK 64-Bit Server VM by Oracle Corporation Windows 10 10.0

    Java.7.A.Comprehensive.Tutorial

    Publication Date: 2014-05-15 ISBN-10: 0980839661 ISBN-13: 9780980839661 This book covers the most important topics any Java developer should master: object-oriented programming, Java language syntax,...

    openssh-5.8p2.tar.gz

    --- lib/libssl/src/ssl/d1_both.c 27 Feb 2014 21:04:57 -0000 1.2 +++ lib/libssl/src/ssl/d1_both.c 8 Apr 2014 00:22:22 -0000 @@ -1459,26 +1459,36 @@ dtls1_process_heartbeat(SSL *s) unsigned int ...

Global site tag (gtag.js) - Google Analytics