![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
_Lina
进一寸有一寸的欢喜
展开
-
C/C++文件读写
IO类: iostream类: 负责与控制台输入输出打交道, 又可以区分为istream和ostream fstream类: 负责与文件输入输出打交道, 又可以区分为:ifstream和ofstream stringstream类:负责与string上的输入输出打交道 fstream 中seekg和seekp是联动的,移动读指针,写指针随之移动,移动写指针,读指针也会随之移动。 fstrea...原创 2019-04-19 13:34:21 · 231 阅读 · 0 评论 -
c++多线程
ref: https://www.cnblogs.com/wangguchangqing/p/6134635.html https://blog.poxiao.me/p/multi-threading-in-cpp11-part-2-mutex-and-lock/ 基本概念 并发:一个时间段内轮流执行多个操作。实现并发的方法包括多进程和多线程。 (两个队排同一个窗口,两队交替办理业务) 并行:两个...转载 2019-05-10 12:23:04 · 99 阅读 · 0 评论