<?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: 1.7 &#8212; Forward declarations</title>
	<atom:link href="http://www.learncpp.com/cpp-tutorial/17-forward-declarations/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/</link>
	<description></description>
	<pubDate>Thu, 24 Jul 2008 16:28:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Joyel</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-19953</link>
		<dc:creator>Joyel</dc:creator>
		<pubDate>Sat, 28 Jun 2008 05:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-19953</guid>
		<description>This helped explain a lot of things I was previously having problems with.</description>
		<content:encoded><![CDATA[<p>This helped explain a lot of things I was previously having problems with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitul</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-19175</link>
		<dc:creator>Mitul</dc:creator>
		<pubDate>Tue, 17 Jun 2008 05:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-19175</guid>
		<description>/* I have writen one another Program  like example 5*/

#include &#60;iostream.h&#62;
#include &#60;conio.h&#62;

int add(int x, int y, int z);

void main()
{
	int x,y,z;
	clrscr();
	cout &#60;&#60; &#34;n Enter three number : n&#34;;
	cin &#62;&#62; x;
	cin &#62;&#62; y;
	cin &#62;&#62; z;
	cout &#60;&#60; &#34;n&#34; &#60;&#60; x &#60;&#60; &#34; + &#34; &#60;&#60; y &#60;&#60; &#34; + &#34; &#60;&#60; z &#60;&#60; &#34; = &#34; &#60;&#60; add(x, y, z) &#60;&#60; endl;
	getch();
}

int add(int x, int y, int z)
{
	return x + y + z;
}</description>
		<content:encoded><![CDATA[<p>/* I have writen one another Program  like example 5*/</p>
<p>#include &lt;iostream.h&gt;<br />
#include &lt;conio.h&gt;</p>
<p>int add(int x, int y, int z);</p>
<p>void main()<br />
{<br />
	int x,y,z;<br />
	clrscr();<br />
	cout &lt;&lt; &quot;n Enter three number : n&quot;;<br />
	cin &gt;&gt; x;<br />
	cin &gt;&gt; y;<br />
	cin &gt;&gt; z;<br />
	cout &lt;&lt; &quot;n&quot; &lt;&lt; x &lt;&lt; &quot; + &quot; &lt;&lt; y &lt;&lt; &quot; + &quot; &lt;&lt; z &lt;&lt; &quot; = &quot; &lt;&lt; add(x, y, z) &lt;&lt; endl;<br />
	getch();<br />
}</p>
<p>int add(int x, int y, int z)<br />
{<br />
	return x + y + z;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - &#187; 1.8 &#8212; Programs with multiple files</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-12589</link>
		<dc:creator>Learn C++ - &#187; 1.8 &#8212; Programs with multiple files</dc:creator>
		<pubDate>Wed, 23 Apr 2008 01:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-12589</guid>
		<description>[...] 2007      Prev/Next Posts   &#171; 1.7 &#8212; Forward declarations &#124; Home &#124; 1.9 &#8212; Header files &#187;     Saturday, June 2nd, 2007 at 8:26 [...]</description>
		<content:encoded><![CDATA[<p>[...] 2007      Prev/Next Posts   &laquo; 1.7 &#8212; Forward declarations | Home | 1.9 &#8212; Header files &raquo;     Saturday, June 2nd, 2007 at 8:26 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-10290</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 24 Mar 2008 22:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-10290</guid>
		<description>stdafx.cpp is a file that Microsoft compilers use to do precompiled headers (which makes you program compile faster), if you sent them up correctly.  If you don't want to deal with stdafx.h, you can always turn precompiled headers off (in the project settings).</description>
		<content:encoded><![CDATA[<p>stdafx.cpp is a file that Microsoft compilers use to do precompiled headers (which makes you program compile faster), if you sent them up correctly.  If you don&#8217;t want to deal with stdafx.h, you can always turn precompiled headers off (in the project settings).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-10164</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Sun, 23 Mar 2008 03:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-10164</guid>
		<description>Hi there. I was wondering how come I have to type #include stdafx.h now. I haven't used my compiler for a while, so I was just wondering. I can't do this program unless I do it, but the Hello World one works just fine without it.

By the way, in my older programs, the source files say "main.cpp" but the new one has 2 files, one that says stdfax.cpp and another one with the title of my project.

I'm new to programming, so if my questions sound dumb, bear with me.</description>
		<content:encoded><![CDATA[<p>Hi there. I was wondering how come I have to type #include stdafx.h now. I haven&#8217;t used my compiler for a while, so I was just wondering. I can&#8217;t do this program unless I do it, but the Hello World one works just fine without it.</p>
<p>By the way, in my older programs, the source files say &#8220;main.cpp&#8221; but the new one has 2 files, one that says stdfax.cpp and another one with the title of my project.</p>
<p>I&#8217;m new to programming, so if my questions sound dumb, bear with me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-7060</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sat, 02 Feb 2008 00:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-7060</guid>
		<description>Ahh, ok... I'm getting a clearer picture of this now (re: my question a few days ago in the previous 'functions' section 
when I asked about the order of functions in Cpp code). This helps explain the reasons why it must be. :)

Thanks Alex!
-Dan</description>
		<content:encoded><![CDATA[<p>Ahh, ok&#8230; I&#8217;m getting a clearer picture of this now (re: my question a few days ago in the previous &#8216;functions&#8217; section<br />
when I asked about the order of functions in Cpp code). This helps explain the reasons why it must be. :)</p>
<p>Thanks Alex!<br />
-Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-6753</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 28 Jan 2008 19:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-6753</guid>
		<description>Please repost your question with the code embedded inside PRE html tags.</description>
		<content:encoded><![CDATA[<p>Please repost your question with the code embedded inside PRE html tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josh</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-6750</link>
		<dc:creator>josh</dc:creator>
		<pubDate>Mon, 28 Jan 2008 19:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-6750</guid>
		<description>rying out your second example i wrote:

#include 

int add(int x+int y)
{
    return x+y; 
}

int main()
{
    using namespace std;
	cout </description>
		<content:encoded><![CDATA[<p>rying out your second example i wrote:</p>
<p>#include </p>
<p>int add(int x+int y)<br />
{<br />
    return x+y;<br />
}</p>
<p>int main()<br />
{<br />
    using namespace std;<br />
	cout</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-4372</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 14 Dec 2007 04:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-4372</guid>
		<description>GovZ,

Forward declarations are used only to tell the compiler about the existence of a function (or class or variable) before it is actually implemented.

This information is only used during compile time.  Consequently, forward declarations will not make your executables larger or slower.</description>
		<content:encoded><![CDATA[<p>GovZ,</p>
<p>Forward declarations are used only to tell the compiler about the existence of a function (or class or variable) before it is actually implemented.</p>
<p>This information is only used during compile time.  Consequently, forward declarations will not make your executables larger or slower.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GovZ</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-forward-declarations/#comment-4368</link>
		<dc:creator>GovZ</dc:creator>
		<pubDate>Fri, 14 Dec 2007 02:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=28#comment-4368</guid>
		<description>Hello guys, 

You have a great tutorial here. Worthy of publication, IMHO. 

Anyways one question. Does Forward Declaration by function prototyping have an effect on the execution time or is this only used during the creation of some hash table or something? And that in the resulting executable, this step is not actually "re-read".

I hope I make sense. Thanks for your answers in advance. =)</description>
		<content:encoded><![CDATA[<p>Hello guys, </p>
<p>You have a great tutorial here. Worthy of publication, IMHO. </p>
<p>Anyways one question. Does Forward Declaration by function prototyping have an effect on the execution time or is this only used during the creation of some hash table or something? And that in the resulting executable, this step is not actually &#8220;re-read&#8221;.</p>
<p>I hope I make sense. Thanks for your answers in advance. =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
