引用专题
摘要:
引用&在C语言中常用于取地址。而在C++中,引用&除了可以取地址外,常作为变量的别名。1 int main()2 {3 int a = 0;4 int &b = a; //C语言不能这样用5 int * const p_b = &a;6 ... 阅读全文
posted @ 2015-04-27 22:54 Ethan_Zpy 阅读(108) 评论(0) 推荐(0)
posted @ 2015-04-27 22:54 Ethan_Zpy 阅读(108) 评论(0) 推荐(0)