2008年10月29日

string自建常用函式(4)

摘要: string用的自訂format函式 阅读全文

posted @ 2008-10-29 19:42 LancetChang 阅读(152) 评论(0) 推荐(0)

關於composition與singleton的爭論(?)

摘要: 最近與公司同事討論到了這兩種方式的使用時機,請看以下狀況: 當我們提到composition的時候,主要是要拿來維持各個物件中的階層關係,以及讓物件的歸屬更為清楚。 阅读全文

posted @ 2008-10-29 17:59 LancetChang 阅读(132) 评论(0) 推荐(0)

其他自建函式-轉換long時間為字串

摘要: 轉換long時間為字串 阅读全文

posted @ 2008-10-29 11:17 LancetChang 阅读(138) 评论(0) 推荐(0)

string自建常用函式(3)

摘要: 從字串中往eDirection方向取得stPos個strToken之前(或之後,依照eType而定)的剩餘字串 阅读全文

posted @ 2008-10-29 10:59 LancetChang 阅读(228) 评论(0) 推荐(0)

string自建常用函式(2)

摘要: 將路徑傳入,傳出最後一個目錄(或檔案名稱) 阅读全文

posted @ 2008-10-29 10:26 LancetChang 阅读(138) 评论(0) 推荐(0)

string自建常用函式(1)

摘要: 將路徑傳入,傳出目錄名稱 阅读全文

posted @ 2008-10-29 09:22 LancetChang 阅读(145) 评论(0) 推荐(0)

导航