C++中的引用
摘要:
```c++ include include include using namespace std; int main() { int a = 2, b; //变量 int &r = a; //引用 int p1 = &a; int p2 = &r; //int &r = b; //错误,不可更改 阅读全文
posted @ 2019-10-22 10:05 星辰之衍 阅读(189) 评论(0) 推荐(0) 编辑
posted @ 2019-10-22 10:05 星辰之衍 阅读(189) 评论(0) 推荐(0) 编辑
posted @ 2019-10-22 10:05 星辰之衍 阅读(195) 评论(0) 推荐(0) 编辑
posted @ 2019-10-22 10:04 星辰之衍 阅读(1430) 评论(0) 推荐(0) 编辑
posted @ 2019-10-22 10:03 星辰之衍 阅读(199) 评论(0) 推荐(0) 编辑
posted @ 2019-10-22 10:02 星辰之衍 阅读(683) 评论(0) 推荐(0) 编辑
posted @ 2019-10-22 10:01 星辰之衍 阅读(167) 评论(0) 推荐(0) 编辑
posted @ 2019-10-22 09:59 星辰之衍 阅读(294) 评论(0) 推荐(0) 编辑