
程序语言
莫等闲
关山口滑稽大学烟酒生毕业,程序猿,挨踢男。
展开
-
用12个实例来解释几个C++概念:POD,cv-qualified,trivial,aggregate type
<! /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; ms原创 2009-03-03 17:02:00 · 10728 阅读 · 1 评论 -
F#快速入门资料
The basic syntax of F# - keywords and constructsThe basic syntax of F# - classes, interfaces, and membersThe basic syntax of F# - typesF# function types: fun with tuples and curryingDiscrimi原创 2010-03-15 14:19:00 · 5331 阅读 · 0 评论 -
什么时候需要protected继承?
要么public,要么private继承,从来没想过什么时候会用到protected继承,这次还碰到了一个case就刚好用且只能用protected继承。 现在有一个类 Base,有一个保护成员函数foo和变量xclass Base{protected: void foo(); int x;}; 派生类protected继承:class Deri原创 2010-04-18 19:45:00 · 8772 阅读 · 4 评论