语言
bulefire2009
这个作者很懒,什么都没留下…
展开
-
C++学习记录(五)——类和对象之构造函数
拷贝构造函数除公认的注意事项以外,还需注意: #include <iostream> using namespace std; class Person { public: Person() { cout << "no pragma" << endl; } Person(int a) { age = a; cout<<"yes pragma:" <<原创 2021-12-03 09:26:16 · 331 阅读 · 0 评论 -
C++学习记录(五)——类和对象之封装
原创 2021-11-17 14:04:43 · 380 阅读 · 0 评论 -
C++学习记录(四)——函数重载
原创 2021-11-17 11:42:44 · 371 阅读 · 0 评论 -
C++学习记录(三)——参数
原创 2021-11-15 14:27:08 · 401 阅读 · 0 评论 -
C++学习记录(二)——引用
原创 2021-11-15 13:16:50 · 483 阅读 · 0 评论 -
C++学习记录(一)——程序的内存模型
原创 2021-11-12 14:07:51 · 532 阅读 · 0 评论