4D
1. struct,class Constructor
The first parameter in the copy constructor has the same type as the class, structure, or union for which it is defined. The first parameter can be a reference to the type but not the type itself.
?
2. struct 與 class區別
?(1)?默認繼承權限。如果不明確指定,來自class的繼承按照private繼承處理,來自struct的繼承按照public繼承處理;?
? (2)?成員的默認訪問權限。class的成員默認是private權限,struct默認是public權限。?
?
3. dynamic programming?
f(i) = max( f(j)+1 ) (j < i && envelope i is bigger than j)
轉載于:https://www.cnblogs.com/longhorn/p/3427629.html
總結
- 上一篇: Win7环境下VS2010配置Cocos
- 下一篇: ps -aux返回超过100%