stl reference

博客主要介绍了C++代码里std::endl的相关内容。std::endl是一个操纵器,它有两个作用,一是强制输出刷新,使cout立即输出其缓冲内容;二是在输出操作后追加换行符。
http://www.msoe.edu/eecs/ce/courseinfo/stl/

介绍一个轻量级的C++开发工具——Relo

http://www.xraylith.wisc.edu/~khan/software/stl/STL.newbie.html

http://www.cs.brown.edu/people/jak/proglang/cpp/stltut/tut.html

虚继承之单继承的内存布局

The std::endl part of the code above is of special interest. (By the way, it's pronounced end ell; the last character is the lowercase letter L, not the number 1.). It's a manipulator; that is, an argument that affects the I/O operation is a certain way. The endl manipulator, for example, has two effects:

  • It forces output flushing, meaning that it causes cout to output its buffered contents immediately.

  • It appends a line break after the output operation.

c++ 参考手册

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

JCJC错别字检测-田春峰

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值