Fork me on GitHub

2019年2月20日

摘要: 转自 https://blog.csdn.net/yuan_4715/article/details/6283472 引用是C++中的概念,初学者容易把引用和指针混淆一起。 一下程序中,n是m的一个引用(reference),m是被引用物(referent)。 int m; int &n = m;  阅读全文
posted @ 2019-02-20 10:47 pengyingh 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: 转自:http://fengqing888.blog.163.com/blog/static/3301141620100623933512/ 1.冒号(:)用法(1)表示机构内位域的定义(即该变量占几个bit空间)typedef struct _XXX{unsigned char a:4;unsig 阅读全文
posted @ 2019-02-20 10:45 pengyingh 阅读(3233) 评论(0) 推荐(0) 编辑

导航