<?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: 2.1 &#8212; Basic addressing and variable declaration</title>
	<atom:link href="http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/</link>
	<description></description>
	<pubDate>Thu, 07 Aug 2008 23:48:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-19670</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 24 Jun 2008 05:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-19670</guid>
		<description>Nope.  In my view, anything the compiler catches is not a bad mistake because the compiler points out exactly where the error is.  Those tend to get fixed immediately.  The bad mistakes are the ones the compiler doesn't catch.  Those are the ones that are likely to creep into production code (code released to the public).</description>
		<content:encoded><![CDATA[<p>Nope.  In my view, anything the compiler catches is not a bad mistake because the compiler points out exactly where the error is.  Those tend to get fixed immediately.  The bad mistakes are the ones the compiler doesn&#8217;t catch.  Those are the ones that are likely to creep into production code (code released to the public).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-19629</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Mon, 23 Jun 2008 17:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-19629</guid>
		<description>"This is not a bad mistake because the compiler will complain and ask you to fix it."
Shouldn't this say:
"This is a bad mistake because the compiler will complain and ask you to fix it."</description>
		<content:encoded><![CDATA[<p>&#8220;This is not a bad mistake because the compiler will complain and ask you to fix it.&#8221;<br />
Shouldn&#8217;t this say:<br />
&#8220;This is a bad mistake because the compiler will complain and ask you to fix it.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - &#187; 1.11 &#8212; Comprehensive quiz</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-12627</link>
		<dc:creator>Learn C++ - &#187; 1.11 &#8212; Comprehensive quiz</dc:creator>
		<pubDate>Wed, 23 Apr 2008 02:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-12627</guid>
		<description>[...]  2.1 â€” Basic addressing and variable declaration [...]</description>
		<content:encoded><![CDATA[<p>[...]  2.1 â€” Basic addressing and variable declaration [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - &#187; 2.2 &#8212; Keywords and naming identifiers</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-12595</link>
		<dc:creator>Learn C++ - &#187; 2.2 &#8212; Keywords and naming identifiers</dc:creator>
		<pubDate>Wed, 23 Apr 2008 01:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-12595</guid>
		<description>[...]  2.1 â€” Basic addressing and variable declaration [...]</description>
		<content:encoded><![CDATA[<p>[...]  2.1 â€” Basic addressing and variable declaration [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-7580</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 09 Feb 2008 21:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-7580</guid>
		<description>&lt;pre&gt;using namespace std;&lt;/pre&gt; allows you to access anything that lives in the std namespace without having to use the std:: prefix.  It's useful for using in conjunction with cin and cout so you can type "cin" or "cout" instead of "std::cin" or "std::cout".

If you &lt;code&gt;#include &lt;iostream.h&gt;&lt;/code&gt;, then cin and cout are not defined as being in the std namespace, and you won't need it.  However, it's better to &lt;code&gt;#include &lt;iostream&gt;&lt;/code&gt;, where cin and cout are defined inside the std namespace.  In this case, you can use the using statement to make your code simpler and easier to read.</description>
		<content:encoded><![CDATA[<pre>using namespace std;</pre>
<p> allows you to access anything that lives in the std namespace without having to use the std:: prefix.  It&#8217;s useful for using in conjunction with cin and cout so you can type &#8220;cin&#8221; or &#8220;cout&#8221; instead of &#8220;std::cin&#8221; or &#8220;std::cout&#8221;.</p>
<p>If you <code>#include <iostream .h></iostream></code>, then cin and cout are not defined as being in the std namespace, and you won&#8217;t need it.  However, it&#8217;s better to <code>#include <iostream></iostream></code>, where cin and cout are defined inside the std namespace.  In this case, you can use the using statement to make your code simpler and easier to read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dector</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-7573</link>
		<dc:creator>dector</dc:creator>
		<pubDate>Sat, 09 Feb 2008 20:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-7573</guid>
		<description>emmm..

and why you use:

&lt;code&gt;
 using namespace std; 
&lt;/code&gt;

I don't use it...</description>
		<content:encoded><![CDATA[<p>emmm..</p>
<p>and why you use:</p>
<p><code><br />
 using namespace std;<br />
</code></p>
<p>I don&#8217;t use it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-5587</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Sun, 06 Jan 2008 05:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-5587</guid>
		<description>That was easy :D</description>
		<content:encoded><![CDATA[<p>That was easy :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - &#187; 10.1 -- Constructor initialization lists</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-2752</link>
		<dc:creator>Learn C++ - &#187; 10.1 -- Constructor initialization lists</dc:creator>
		<pubDate>Tue, 13 Nov 2007 18:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-2752</guid>
		<description>[...] the lesson on basic addressing and variable declaration, you learned that you could assign values to variables in two ways: explicitly and [...]</description>
		<content:encoded><![CDATA[<p>[...] the lesson on basic addressing and variable declaration, you learned that you could assign values to variables in two ways: explicitly and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - A tutorial and blog on C++, object-oriented design, and related topics &#187; 2.3 -- Variable sizes and the sizeof operator</title>
		<link>http://www.learncpp.com/cpp-tutorial/21-basic-addressing-and-variable-declaration/#comment-19</link>
		<dc:creator>Learn C++ - A tutorial and blog on C++, object-oriented design, and related topics &#187; 2.3 -- Variable sizes and the sizeof operator</dc:creator>
		<pubDate>Wed, 06 Jun 2007 22:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=37#comment-19</guid>
		<description>[...] 2.1 &#8212; Basic addressing and variable declaration  [...]</description>
		<content:encoded><![CDATA[<p>[...] 2.1 &#8212; Basic addressing and variable declaration  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
