2010年1月17日

摘要: Converting an expression of a given type into another type is known as type-casting. We have already seen some ways to type cast: Implicit conversionImplicit conversions do not require any operator. They are automatically performed when a value is copied to a compatible type. For example: Here, th.. 阅读全文
posted @ 2010-01-17 15:19 做个不善的人 阅读(750) 评论(0) 推荐(0)
 
摘要: from: http://www.codeproject.com/KB/cpp/complex_declarations.aspxContentsIntroductionThe basicsThe const modifierThe subtleties of typedefFunction pointersThe right-left rule [Important]Further examplesSuggested readingCredits IntroductionEver came across a declaration like int * (* (*fp1) (int) ) [ 阅读全文
posted @ 2010-01-17 12:04 做个不善的人 阅读(446) 评论(0) 推荐(0)