<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 13.1 &#8212; Input and output (I/O) streams</title>
	<atom:link href="http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 10:51:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: saini</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-91143</link>
		<dc:creator>saini</dc:creator>
		<pubDate>Tue, 31 Aug 2010 05:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-91143</guid>
		<description>&lt;pre&gt; what are buffered and unbuffered errors ?
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre> what are buffered and unbuffered errors ?
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-59884</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 03 May 2009 15:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-59884</guid>
		<description>In your second line in after Streams, you have &quot;it&#039;s&quot;

everyone knows possessive pronouns cannot have an apostrophe!</description>
		<content:encoded><![CDATA[<p>In your second line in after Streams, you have &#8220;it&#8217;s&#8221;</p>
<p>everyone knows possessive pronouns cannot have an apostrophe!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-59733</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 02 May 2009 04:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-59733</guid>
		<description>There&#039;s actually very little difference between them.  However, it is possible to redirect one or more of the channels to file (or printer, or network, or elsewhere).  That way, you can have normal output go to one place (eg. a file) and have any errors go to another place (eg. the screen).</description>
		<content:encoded><![CDATA[<p>There&#8217;s actually very little difference between them.  However, it is possible to redirect one or more of the channels to file (or printer, or network, or elsewhere).  That way, you can have normal output go to one place (eg. a file) and have any errors go to another place (eg. the screen).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhisek</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-52167</link>
		<dc:creator>Abhisek</dc:creator>
		<pubDate>Sat, 21 Mar 2009 19:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-52167</guid>
		<description>Q: What is the difference between the outputs of &quot;cout&quot;, &quot;cerr&quot; &amp; &quot;clog&quot; ?
NOTE: Both of them gives exactly the same output to the screen.
Q: Does &quot;cerr&quot; has any more inner workings than printing &quot;Oops, you entered an invalid age!&quot; to the screen?

&lt;pre&gt;
cout &lt;&lt; &quot;Oops, you entered an invalid age!&quot; &lt;&lt; endl;
&lt;/pre&gt;

and 

&lt;pre&gt;
cerr &lt;&lt; &quot;Oops, you entered an invalid age!&quot; &lt;&lt; endl;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Q: What is the difference between the outputs of &#8220;cout&#8221;, &#8220;cerr&#8221; &amp; &#8220;clog&#8221; ?<br />
NOTE: Both of them gives exactly the same output to the screen.<br />
Q: Does &#8220;cerr&#8221; has any more inner workings than printing &#8220;Oops, you entered an invalid age!&#8221; to the screen?</p>
<pre>
cout &lt;&lt; &quot;Oops, you entered an invalid age!&quot; &lt;&lt; endl;
</pre>
<p>and </p>
<pre>
cerr &lt;&lt; &quot;Oops, you entered an invalid age!&quot; &lt;&lt; endl;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kavitha</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-38697</link>
		<dc:creator>Kavitha</dc:creator>
		<pubDate>Thu, 22 Jan 2009 15:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-38697</guid>
		<description>cout — an ostream_withassign class tied to the standard input 

should read as

cout — an ostream_withassign object tied to the standard output

[ You are correct.  Thanks for pointing out the mistake.  -Alex ]</description>
		<content:encoded><![CDATA[<p>cout — an ostream_withassign class tied to the standard input </p>
<p>should read as</p>
<p>cout — an ostream_withassign object tied to the standard output</p>
<p>[ You are correct.  Thanks for pointing out the mistake.  -Alex ]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rohan</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-27534</link>
		<dc:creator>rohan</dc:creator>
		<pubDate>Tue, 16 Sep 2008 13:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-27534</guid>
		<description>Abstractly, a stream can .... infinite length that &quot;us&quot; used as a buffer 
===&gt;
Abstractly, a stream can .... infinite length that &quot;is&quot; used as a buffer

[ Fixed.  Thanks!  -Alex]</description>
		<content:encoded><![CDATA[<p>Abstractly, a stream can &#8230;. infinite length that &#8220;us&#8221; used as a buffer<br />
===&gt;<br />
Abstractly, a stream can &#8230;. infinite length that &#8220;is&#8221; used as a buffer</p>
<p>[ Fixed.  Thanks!  -Alex]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgos</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-20132</link>
		<dc:creator>Giorgos</dc:creator>
		<pubDate>Tue, 01 Jul 2008 02:12:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-20132</guid>
		<description>you got a mistake here! x is not mentioned

#include &lt;iostream&gt;

int main()
{
    using namespace std;
    cout &lt;&lt; &quot;Enter your age: &quot; &lt;&lt; endl;
	
    int nAge;
    cin &gt;&gt; nAge;
	
    if (nAge &lt;= 0)
    {
        cerr &lt;&lt; &quot;Oops, you entered an invalid age!&quot; &lt;&lt; endl;
        exit(1);
    }
	
    cout &lt;&lt; &quot;You entered &quot; &lt;&lt; nAge &lt;&lt; &quot; years old&quot; &lt;&lt; endl;
	
    return 0;
}
&lt;!--formatted--&gt;

[ Fixed.  -Alex ]</description>
		<content:encoded><![CDATA[<p>you got a mistake here! x is not mentioned</p>
<p>#include &lt;iostream&gt;</p>
<p>int main()<br />
{<br />
    using namespace std;<br />
    cout &lt;&lt; &quot;Enter your age: &quot; &lt;&lt; endl;</p>
<p>    int nAge;<br />
    cin &gt;&gt; nAge;</p>
<p>    if (nAge &lt;= 0)<br />
    {<br />
        cerr &lt;&lt; &quot;Oops, you entered an invalid age!&quot; &lt;&lt; endl;<br />
        exit(1);<br />
    }</p>
<p>    cout &lt;&lt; &quot;You entered &quot; &lt;&lt; nAge &lt;&lt; &quot; years old&quot; &lt;&lt; endl;</p>
<p>    return 0;<br />
}<br />
<!--formatted--></p>
<p>[ Fixed.  -Alex ]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - &#187; 13.2 &#8212; Input with istream</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-14436</link>
		<dc:creator>Learn C++ - &#187; 13.2 &#8212; Input with istream</dc:creator>
		<pubDate>Mon, 05 May 2008 02:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-14436</guid>
		<description>[...] 2007      Prev/Next Posts   &#171; 13.1 &#8212; Input and output (I/O) streams &#124; Home &#124; 13.3 &#8212; Output with ostream and ios &#187;     Tuesday, March 4th, 2008 at 4:09 [...]</description>
		<content:encoded><![CDATA[<p>[...] 2007      Prev/Next Posts   &laquo; 13.1 &#8212; Input and output (I/O) streams | Home | 13.3 &#8212; Output with ostream and ios &raquo;     Tuesday, March 4th, 2008 at 4:09 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - &#187; 12.6 &#8212; Pure virtual functions, abstract base classes, and interface classes</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-14432</link>
		<dc:creator>Learn C++ - &#187; 12.6 &#8212; Pure virtual functions, abstract base classes, and interface classes</dc:creator>
		<pubDate>Mon, 05 May 2008 02:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-14432</guid>
		<description>[...]  13.1 â€” Input and output (I/O) streams [...]</description>
		<content:encoded><![CDATA[<p>[...]  13.1 â€” Input and output (I/O) streams [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learn C++ - &#187; 13.3 -- Output with ostream and ios</title>
		<link>http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/comment-page-1/#comment-9504</link>
		<dc:creator>Learn C++ - &#187; 13.3 -- Output with ostream and ios</dc:creator>
		<pubDate>Wed, 12 Mar 2008 23:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/131-input-and-output-io-streams/#comment-9504</guid>
		<description>[...] 13.1 &#8212; Input and output (I/O) streams Category Indexes [...]</description>
		<content:encoded><![CDATA[<p>[...] 13.1 &#8212; Input and output (I/O) streams Category Indexes [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
