2019年8月12日
摘要: 最近在看代码时,发现了一个有趣的事,通过指针和引用传参,能够在不使用返回值就能实现数据的获取。 #include <stdio.h> #include <string.h> #include <iostream> using namespace std; struct Test { int i; c 阅读全文
posted @ 2019-08-12 17:27 anyejin 阅读(577) 评论(0) 推荐(0)