> public:
> void show()
> {
> cout<<go::i; 這行輸出有錯嗎??
> }
> };
int go::i; // Instantiate static data member.
> void main()
> {
> go lin;
> lin.show();
> }
> 可是編意器會出縣錯誤...why???可是我在書上說可以...??
Error message 應該有跟你說為什麼錯吧?
--
* Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>