<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: 8.13 &#8212; Friend functions and classes</title>
	<atom:link href="http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/</link>
	<description></description>
	<pubDate>Wed, 20 Aug 2008 09:02:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: moazzam</title>
		<link>http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/#comment-9120</link>
		<dc:creator>moazzam</dc:creator>
		<pubDate>Sat, 08 Mar 2008 12:05:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/#comment-9120</guid>
		<description>can any one plz gimme a practical example of friend function that can b used in our daily lives. 
Thanx.....</description>
		<content:encoded><![CDATA[<p>can any one plz gimme a practical example of friend function that can b used in our daily lives.<br />
Thanx&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/#comment-6147</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 16 Jan 2008 15:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/#comment-6147</guid>
		<description>Making a function a friend of some class means that function has access to the classes private member variables (even though that function is not a member of the class).  The Humidity/Weather example above shows an example of this: PrintWeather() is using the private members of Humidity and Weather (which it would normally not have access to, because they are private).  However, it is allowed to do this because it has been made a friend.</description>
		<content:encoded><![CDATA[<p>Making a function a friend of some class means that function has access to the classes private member variables (even though that function is not a member of the class).  The Humidity/Weather example above shows an example of this: PrintWeather() is using the private members of Humidity and Weather (which it would normally not have access to, because they are private).  However, it is allowed to do this because it has been made a friend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jagadeesh</title>
		<link>http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/#comment-6144</link>
		<dc:creator>jagadeesh</dc:creator>
		<pubDate>Wed, 16 Jan 2008 15:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/#comment-6144</guid>
		<description>c++ programm.
member function of class can access private members,than we we need friend function,what is the use of this please iam in confusion</description>
		<content:encoded><![CDATA[<p>c++ programm.<br />
member function of class can access private members,than we we need friend function,what is the use of this please iam in confusion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjay</title>
		<link>http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/#comment-2479</link>
		<dc:creator>sanjay</dc:creator>
		<pubDate>Tue, 06 Nov 2007 08:32:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/813-friend-functions-and-classes/#comment-2479</guid>
		<description>&lt;b&gt;hey its great to have a website like this 
i didn't buy my cp book till my exams even then i stood 3rd in my class...


&lt;i&gt;
sanjay</description>
		<content:encoded><![CDATA[<p><b>hey its great to have a website like this<br />
i didn&#8217;t buy my cp book till my exams even then i stood 3rd in my class&#8230;</p>
<p><i><br />
sanjay</i></b></p>
]]></content:encoded>
	</item>
</channel>
</rss>
