10 2008 档案

directUI
摘要:Building a Dynamic UI using a CWnd Free Pool, 用 XML 来描述界面,动态产生界面。http://hi.baidu.com/%D3%E5%CE%E4%CC%D5/blog/item/5c0beacf69e8d639f8dc610e.htmlhttp://www.sineysoft.com/blog/post/directUI.html 阅读全文

posted @ 2008-10-26 21:40 cutepig 阅读(720) 评论(0) 推荐(0) 编辑

goto for Python
摘要:http://entrian.com/goto/看了看源代码,原来是通过给所有函数修改trace,然后在异常时就会执行设置的函数# Install the trace function, including all preceding frames.sys.settrace(_trace)frame = sys._getframe().f_backwhile frame: frame.f_t... 阅读全文

posted @ 2008-10-16 00:07 cutepig 阅读(5509) 评论(0) 推荐(0) 编辑

使用虚函数,减少累赘的if/else/switch
摘要:x 阅读全文

posted @ 2008-10-13 20:19 cutepig 阅读(651) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示