楼主: igs816
3440 39

[其他] C++17 STL Cookbook [推广有奖]

baiwfg2 发表于 2017-7-12 17:22:51 |显示全部楼层
不太明白经管论坛干嘛要支持这类电子书上传?好好搞经济管理不好吗?掺和什么IT呢?下载IT书不应该是在CSDN下载区呢?
回复

使用道具 举报

zhangbonian 发表于 2017-7-15 18:28:25 |显示全部楼层
谢谢!!
回复

使用道具 举报

Nicolle 学生认证  发表于 2017-7-15 21:01:23 |显示全部楼层
  1. Using the erase-remove idiom on std::vector
  2. A lot of novice C++ programmers learn about std::vector, that it basically
  3. works like an automatically growing array, and stop right there. Later, they
  4. only lookup its documentation in order to see how to do very specific things,
  5. for example, removing items. Using STL containers like this will only
  6. scratch the surface of how much they help writing clean, maintainable, and
  7. fast code.
  8. This section is all about removing items from in-between a vector
  9. instance. When an item disappears from a vector, and sits somewhere in the
  10. middle between other items, then all items right from it must move one slot to
  11. the left (which gives this task a runtime cost within O(n)). Many novice
  12. programmers will do that using a loop, since it is also not really a hard thing
  13. to do. Unfortunately, they will potentially ignore a lot of optimization
  14. potential while doing that. And in the end, a hand crafted loop is neither
  15. faster, nor prettier to read than the STL way, which we will see next.
复制代码
回复

使用道具 举报

wufuheng 发表于 2017-7-18 01:04:18 |显示全部楼层
大数据企业落地实战大数据企业落地实战
回复

使用道具 举报

emngyazhao 发表于 2017-7-18 07:29:46 |显示全部楼层
Thank you for sharing.
回复

使用道具 举报

nanalujt 发表于 2017-7-20 23:21:27 |显示全部楼层
这个是本新书啊?
回复

使用道具 举报

Taylor08 发表于 2017-7-21 14:10:46 |显示全部楼层
[victory][victory]
回复

使用道具 举报

sthopeli 在职认证  发表于 2017-7-23 12:21:57 |显示全部楼层
thanks
回复

使用道具 举报

william9225 学生认证  发表于 2017-7-29 11:20:11 |显示全部楼层
回复

使用道具 举报

arnold0617 发表于 2017-10-11 18:23:55 |显示全部楼层
pdf是其他格式转换过来的, 很烂
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 我要注册

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2019-7-21 19:26