2009年7月5日

摘要: First, let us examine how the Controlling Access to Class Members is defined:Member-Access Control Type of AccessMeaningprivateClass members declared as private can be used only by member functions and friends (classes or functions) of the class.protectedClass members declared as protected can be us 阅读全文
posted @ 2009-07-05 11:38 做个不善的人 阅读(696) 评论(0) 推荐(0)
 
摘要: When talking about new there are two distinct parts: the operator new, and the function operator new(). The last time I went over this with somebody, it took them ages to get it. What happens is that the operator new calls the function operator new() to allocate memory. The function operator new() a 阅读全文
posted @ 2009-07-05 10:35 做个不善的人 阅读(551) 评论(1) 推荐(0)