int rat; int & rodent; rodent = rat; //不可以這樣使用. reference 變數應在宣告時指定初值。 reference 比較像 const 指標;當您產生 reference 時必須將其初始化, ...
確定! 回上一頁