作者查詢 / anotherday

總覽項目: 發文 | 留言 | 暱稱
作者 anotherday 在 PTT [ C_and_CPP ] 看板的留言(推文), 共45則
限定看板:C_and_CPP
首頁
上一頁
1
2
3
下一頁
尾頁
[問題] 有關於typedef的問題
[ C_and_CPP ]55 留言, 推噓總分: +17
作者: anotherday - 發表於 2009/12/15 23:14(16年前)
2Fanotherday:請問哪邊奇怪 我可以解釋一下12/15 23:19
4Fanotherday:阿...對 抱歉 我改一下文章12/15 23:21
7Fanotherday:其實我只是想省掉在class B內include class A這行12/15 23:31
11Fanotherday:恩恩 謝謝兩位的回答12/15 23:36
27Fanotherday:抱歉 我的誤解讓大家對我的問題有所誤會12/16 00:35
29Fanotherday:其實應該是把class都改成head file才對12/16 00:35
32Fanotherday:我的確是想讓class B去繼承class A, 但是目前沒繼承12/16 00:36
33Fanotherday:的理由 所以我沒用繼承 , 單純的去include A.h12/16 00:36
34Fanotherday:不見得讓其他人了解為什麼要include A.h12/16 00:37
36Fanotherday:唉呀 是我的表達錯誤讓你有錯誤的推測 真是抱歉12/16 00:39
37Fanotherday:改一下文章好了12/16 00:39
40Fanotherday:沒必要繼承, include A.h就可以了12/16 00:41
41Fanotherday:我是覺得include A.h的可讀性太差 , 所以才有這個疑問12/16 00:41
45Fanotherday:要看到就是要include A.h12/16 00:43
49Fanotherday:dp2大說的就是我剛剛跟其他人討論出來的答案12/16 00:46
首頁
上一頁
1
2
3
下一頁
尾頁