<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Protected or Private?</title><link>http://blogs.msdn.com/b/xiangfan/archive/2008/10/16/protected-or-private.aspx</link><description>As the designer of base class, you may hesitate whether to use private or protect access control. Then, let's try the following examples: 
 1. Call protected member function #include &amp;lt;cstdio&amp;gt; class A { protected : void b() {printf( "Oops!\n" );</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title> Van s House Protected or Private | Outdoor Ceiling Fans</title><link>http://blogs.msdn.com/b/xiangfan/archive/2008/10/16/protected-or-private.aspx#9686356</link><pubDate>Tue, 02 Jun 2009 21:05:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9686356</guid><dc:creator> Van s House Protected or Private | Outdoor Ceiling Fans</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://outdoorceilingfansite.info/story.php?id=55066"&gt;http://outdoorceilingfansite.info/story.php?id=55066&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9686356" width="1" height="1"&gt;</description></item></channel></rss>