随笔分类 -  C++ Primer Summary

将厚厚的C++ Primer 读薄,主要集中总结自认为较难的部分。根据作者思路,将整个C++脉络梳理清楚,结合课后习题加深对每一小节内容的认识。此分类总结将集中在C++11上,并随着学习的推进不断更新总结与认识。
摘要:![](https://img2022.cnblogs.com/blog/2743102/202205/2743102-20220521221859394-1060130406.png) 阅读全文
posted @ 2022-05-21 22:19 Dy2MoRaw 阅读(12) 评论(0) 推荐(0)
摘要:![](https://img2022.cnblogs.com/blog/2743102/202205/2743102-20220521134738492-304019055.png) 阅读全文
posted @ 2022-05-21 13:50 Dy2MoRaw 阅读(16) 评论(0) 推荐(0)
摘要:7.1 Defining Abstract Data Type The fundamental ideas behind classes are data struaction and encapsulation. Key Concept: Different Kind of Programming 阅读全文
posted @ 2022-03-10 16:17 Dy2MoRaw 阅读(49) 评论(0) 推荐(0)
摘要:Initialization and const 1.Because we can't change the value of a const obeject after we create it, it must be initialized. We may use only those oper 阅读全文
posted @ 2022-02-12 06:50 Dy2MoRaw 阅读(76) 评论(0) 推荐(0)
摘要:Initialization 1.A default initialized smart pointer holds a null pointer. shared_ptr<vector<string>> p; // shared_ptr that can point at a vector of s 阅读全文
posted @ 2022-02-08 21:51 Dy2MoRaw 阅读(66) 评论(0) 推荐(0)
摘要:Chaper 2 Variables and Basic Types Section 2.4 Const Qulifier Initialization and const Initialization and References to const Pointers and const Top-l 阅读全文
posted @ 2022-02-03 15:11 Dy2MoRaw 阅读(54) 评论(0) 推荐(0)
摘要:Using new to Dynamically allocate and initialize objects (new) 1.Initialization with parentheses and curly braces. int *pi = new int(1024); string *ps 阅读全文
posted @ 2022-02-03 15:11 Dy2MoRaw 阅读(59) 评论(0) 推荐(0)