Pic of starryalley on iThome
Posted on March 24th, 2010 at 0:35 by fr3@K

哈~ 同事 starryalley 的照片上了 iThome.

del.icio.us:Pic of starryalley on iThome digg:Pic of starryalley on iThome spurl:Pic of starryalley on iThome newsvine:Pic of starryalley on iThome furl:Pic of starryalley on iThome Y!:Pic of starryalley on iThome 黑米共享書籤:Pic of starryalley on iThome 推推王:Pic of starryalley on iThome
Quiz on C++ Object Model
Posted on March 4th, 2010 at 0:07 by fr3@K

這幾個月忙於工作, 這個部落格都快被我給荒廢掉了. 昨晚終於花了時間完成了一篇積了一兩個月, 說明 virtual function 在執行時期的 override 過程以及 virtual function 與 constructor/destructor 混搭結果 的文字.

今天我準備了個題目給花了時間看了它的朋友, 當作對小弟的說明能力來個測驗. 請問, 下面的 code snip 的輸出結果是什麼?
(more…)

del.icio.us:Quiz on C++ Object Model digg:Quiz on C++ Object Model spurl:Quiz on C++ Object Model newsvine:Quiz on C++ Object Model furl:Quiz on C++ Object Model Y!:Quiz on C++ Object Model 黑米共享書籤:Quiz on C++ Object Model 推推王:Quiz on C++ Object Model
當 Constructor 遇上 Virtual Function
Posted on March 3rd, 2010 at 0:19 by fr3@K

Background

不知道你有沒有過這樣的經驗 – 想要在父類的 constructor 裏面呼叫被子類 override (或是 implement) 的 (pure) virtual function?
(more…)

del.icio.us:當 Constructor 遇上 Virtual Function digg:當 Constructor 遇上 Virtual Function spurl:當 Constructor 遇上 Virtual Function newsvine:當 Constructor 遇上 Virtual Function furl:當 Constructor 遇上 Virtual Function Y!:當 Constructor 遇上 Virtual Function 黑米共享書籤:當 Constructor 遇上 Virtual Function 推推王:當 Constructor 遇上 Virtual Function