討論串[問題] 關於C++ 繼承
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 9→)留言11則,0人參與, 最新作者blexx (布雷克斯)時間15年前 (2010/07/22 23:44), 編輯資訊
0
0
0
內容預覽:
剛剛在Athlon XP 2000+, RAM 1.5G的Arch Linux舊機器上做了實驗. //#include <iostream>. class a0 {. public:. explicit a0(void) {value = 100;};. virtual ~a0(void) {};.
(還有330個字)

推噓4(4推 0噓 2→)留言6則,0人參與, 最新作者littleshan (我要加入劍道社!)時間15年前 (2010/07/22 17:55), 編輯資訊
0
0
0
內容預覽:
又到了欺負 gcc 的時間~ (上一篇請見 #19vMmhkp). 我寫了一支小程式來產生如下的程式碼:. struct s0 {};. struct s1 : public s0 {};. struct s2 : public s1 {};. struct s3 : public s2 {};.
(還有456個字)
首頁
上一頁
1
下一頁
尾頁