看板Programming
标 题Re: [问题] 请问C语言中的int&*
发信站虎尾科大寻梦园 (Fri Sep 26 13:18:53 2008)
转信站ptt!ctu-reader!news.nctu!NFU_BBS
※ 引述《[email protected] ((short)(-15074))》之铭言:
> 我们来比较一下存在的int*&和不存在的int&*
> 读法是由右边读回来
> int*& => a reference of a pointer (pointed) to an int
> 'int的指标'的参照
> int&* => a pointer (pointed) to a reference of an int
> 指向'int参照'的指标
> 这样看就知道了 '指向参照的指标'这是啥东西? 所以没有这种东西
> 而指标的参照则是有意义的
reference 是 c++ 才有吧?
他说的不是 C 语言吗?
--
╭───╮╭───╮ ╭───╮ ┌□
│██◣█
│ ████
│ ██ █
.寻找今晚属於你的梦境. └┤
│████
│ ██
│ ██ █
╭──────────────────╯
│████
│ ████
│ ██ █
│寻梦位址:vpn-nat.taipei.corp.yahoo.com
│██◥█
│ ██
│ ████
│国立虎尾科技大学.寻梦园 bbs.nfu.edu.tw
╰───╯╰──╯ ╰───╯ ╰────────────────────