摘要: 防止误操作 点击查看代码 #include<iostream> #include<string> using namespace std; //常量引用 //使用场景:用来修饰形参,防止误操作 //打印函数 void showValue(int &val) { //原名b指向的数据也变成1000了( 阅读全文
posted @ 2021-08-09 18:59 毋纵年华 阅读(129) 评论(0) 推荐(0)