上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 68 下一页
摘要: https://blog.csdn.net/weixin_44216359/article/details/124275545 阅读全文
posted @ 2022-10-13 14:48 笨笨和呆呆 阅读(60) 评论(0) 推荐(0)
摘要: int b; cout << typeid(b).name(); 阅读全文
posted @ 2022-10-13 11:24 笨笨和呆呆 阅读(59) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_43400806/article/details/124229091 创建二维矩阵 #include <vector> int main() { int m; int n; cin >> m >> n; vector<vector<int>> 阅读全文
posted @ 2022-10-12 16:53 笨笨和呆呆 阅读(23) 评论(0) 推荐(0)
摘要: #include <iostream>#include <fstream>#include <string> using namespace std; int main() { //往文件里写 ofstream f; f.open("test.txt",ios::out); f << "aaaaaa 阅读全文
posted @ 2022-10-12 14:49 笨笨和呆呆 阅读(23) 评论(0) 推荐(0)
摘要: 为什么普通类成员函数重写不能实现父类调用子类成员函数? 由于普通函数在编译的时候就已经确定运行时机,虚函数在运行的时候动态绑定 https://www.bilibili.com/video/BV1et411b73Z?p=136&spm_id_from=pageDriver&vd_source=bdb 阅读全文
posted @ 2022-10-11 15:11 笨笨和呆呆 阅读(44) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_51485453/article/details/123214455 阅读全文
posted @ 2022-10-11 11:11 笨笨和呆呆 阅读(95) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-10-11 10:39 笨笨和呆呆 阅读(9) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_44380570/article/details/120562497 阅读全文
posted @ 2022-10-10 14:53 笨笨和呆呆 阅读(38) 评论(0) 推荐(0)
摘要: 功能就是教2个类的成员之间如何运算 阅读全文
posted @ 2022-10-10 11:17 笨笨和呆呆 阅读(18) 评论(0) 推荐(0)
摘要: c++中: 引用就是起别名,2个变量共享一个内存,一个变另一个也跟着变 =号赋值默认都是浅拷贝操作,另外开辟内存,但是遇到指针,则依然共享内存,所以遇到指针需要深拷贝 python中: 不可变类型的=号赋值默认使用浅拷贝方式(不可变类型包括字面值, tuple等;a和b地址不同,b的改变不影响a) 阅读全文
posted @ 2022-10-10 09:06 笨笨和呆呆 阅读(71) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 68 下一页