<?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: 17.1 &#8212; std::string and std::wstring</title>
	<atom:link href="http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 12:30:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: andalusy</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-96853</link>
		<dc:creator>andalusy</dc:creator>
		<pubDate>Wed, 18 Jan 2012 09:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-96853</guid>
		<description>nice article, i just finished bookmarking it for future reference. i would love to read on future posts. how do i configure the rss again? thanks! 
&lt;a href=&quot;http://www.el7z.com/&quot; rel=&quot;nofollow&quot;&gt;hguhf&lt;/a&gt; &lt;a href=&quot;http://www.el7l.com/&quot; rel=&quot;nofollow&quot;&gt;
htbl&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>nice article, i just finished bookmarking it for future reference. i would love to read on future posts. how do i configure the rss again? thanks!<br />
<a href="http://www.el7z.com/" rel="nofollow">hguhf</a> <a href="http://www.el7l.com/" rel="nofollow"><br />
htbl</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 16.4 &#8212; STL algorithms overview &#171; Learn C++</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-96009</link>
		<dc:creator>16.4 &#8212; STL algorithms overview &#171; Learn C++</dc:creator>
		<pubDate>Sun, 11 Sep 2011 23:53:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-96009</guid>
		<description>[...]  17.1 &#8212; std::string and std::wstring [...]</description>
		<content:encoded><![CDATA[<p>[...]  17.1 &#8212; std::string and std::wstring [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: octavsly</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-95853</link>
		<dc:creator>octavsly</dc:creator>
		<pubDate>Fri, 12 Aug 2011 14:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-95853</guid>
		<description>To create a template type parameter, use either the keyword typename or class. There is no difference between the two keywords in this context, and you will usually see people use the class keyword.</description>
		<content:encoded><![CDATA[<p>To create a template type parameter, use either the keyword typename or class. There is no difference between the two keywords in this context, and you will usually see people use the class keyword.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: octavsly</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-95852</link>
		<dc:creator>octavsly</dc:creator>
		<pubDate>Fri, 12 Aug 2011 14:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-95852</guid>
		<description>For the ones which are as confused as I was

template&lt;class charT, ..............
Why class? shouldn&#039;t be typename? 



class or typename can be exchanged as described in section 14.1

&lt;&lt;&lt;&lt;&lt;&lt;&lt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;</description>
		<content:encoded><![CDATA[<p>For the ones which are as confused as I was</p>
<p>template&lt;class charT, &#8230;&#8230;&#8230;&#8230;..<br />
Why class? shouldn&#039;t be typename? </p>
<p>class or typename can be exchanged as described in section 14.1</p>
<p>&lt;&lt;&lt;&lt;&lt;&lt;&lt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: property and casualty insurance companies</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-95636</link>
		<dc:creator>property and casualty insurance companies</dc:creator>
		<pubDate>Sun, 26 Jun 2011 21:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-95636</guid>
		<description>&lt;strong&gt;The best website…...&lt;/strong&gt;

[...]here are some links to sites that we link to because we think they are worth visiting[...]…...</description>
		<content:encoded><![CDATA[<p><strong>The best website…&#8230;</strong></p>
<p>[...]here are some links to sites that we link to because we think they are worth visiting[...]…&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Techie&#039;s tryst with C++ &#187; 17.2 — std::string construction and destruction</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-95529</link>
		<dc:creator>Techie&#039;s tryst with C++ &#187; 17.2 — std::string construction and destruction</dc:creator>
		<pubDate>Tue, 07 Jun 2011 03:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-95529</guid>
		<description>[...]  17.1 &#8212; std::string and std::wstring            ch_client = &quot;soorajchettada&quot;; ch_width = 468; ch_height = 60; ch_type = &quot;mpu&quot;; ch_sid = &quot;Chitika+Default&quot;; ch_backfill = 1; ch_color_site_link = &quot;#128A00&quot;; ch_color_title = &quot;#128A00&quot;; ch_color_border = &quot;#FFFFFF&quot;; ch_color_text = &quot;#000000&quot;; ch_color_bg = &quot;#FFFFFF&quot;;       Tags: C++ Tutorial, code string, length error, maximum string length, null terminator, string classes        Comments (0) Trackbacks (0) Leave a comment Trackback [...]</description>
		<content:encoded><![CDATA[<p>[...]  17.1 &#8212; std::string and std::wstring            ch_client = &quot;soorajchettada&quot;; ch_width = 468; ch_height = 60; ch_type = &quot;mpu&quot;; ch_sid = &quot;Chitika+Default&quot;; ch_backfill = 1; ch_color_site_link = &quot;#128A00&quot;; ch_color_title = &quot;#128A00&quot;; ch_color_border = &quot;#FFFFFF&quot;; ch_color_text = &quot;#000000&quot;; ch_color_bg = &quot;#FFFFFF&quot;;       Tags: C++ Tutorial, code string, length error, maximum string length, null terminator, string classes        Comments (0) Trackbacks (0) Leave a comment Trackback [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-87028</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Wed, 23 Jun 2010 09:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-87028</guid>
		<description>Great Tutorials!
Just one quick doubt. You have &lt;pre&gt;char *strHello = new char(7);&lt;/pre&gt; written, when I think you mean &lt;pre&gt;char *strHello = new char[7];&lt;/pre&gt;.</description>
		<content:encoded><![CDATA[<p>Great Tutorials!<br />
Just one quick doubt. You have
<pre>char *strHello = new char(7);</pre>
<p> written, when I think you mean
<pre>char *strHello = new char[7];</pre>
<p>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohit</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-86713</link>
		<dc:creator>Mohit</dc:creator>
		<pubDate>Fri, 18 Jun 2010 01:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-86713</guid>
		<description>Can i manipulate unicode text files using wstring and fstream? And, is there any way to print unicode charatcers in console?</description>
		<content:encoded><![CDATA[<p>Can i manipulate unicode text files using wstring and fstream? And, is there any way to print unicode charatcers in console?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dazfuller</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-76253</link>
		<dc:creator>dazfuller</dc:creator>
		<pubDate>Tue, 12 Jan 2010 08:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-76253</guid>
		<description>I don&#039;t know if you figured this out yet Puneet but here is one way to do it.

&lt;pre&gt;
string value(&quot;AB CD   EF   GH       IJ   &quot;);
size_t foundPos = value.find(&quot; &quot;);
while (foundPos != string::npos)
{
    value.replace(foundPos, 1, &quot;&quot;);
    foundPos = value.find(&quot; &quot;);
}
&lt;!--formatted--&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if you figured this out yet Puneet but here is one way to do it.</p>
<pre>
string value(&quot;AB CD   EF   GH       IJ   &quot;);
size_t foundPos = value.find(" ");
while (foundPos != string::npos)
{
    value.replace(foundPos, 1, &quot;&quot;);
    foundPos = value.find(&quot; &quot;);
}
<!--formatted--></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Puneet</title>
		<link>http://www.learncpp.com/cpp-tutorial/17-1-stdstring-and-stdwstring/comment-page-1/#comment-73177</link>
		<dc:creator>Puneet</dc:creator>
		<pubDate>Fri, 27 Nov 2009 20:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/?p=329#comment-73177</guid>
		<description>&lt;pre&gt;
Hello Alex,

Please help me in the following, I have a string in following format &quot;AB CD   EF   GH       IJ   &quot;, here aplhabets are seperated by variable number of spaces. I want to write a program that reads this string and replaces multiple spaces between alphabets with a single space. The string can be of any length.

Also, please let me know if there is a inbuilt function for this?  

&lt;pre&gt;</description>
		<content:encoded><![CDATA[<pre>
Hello Alex,

Please help me in the following, I have a string in following format "AB CD   EF   GH       IJ   ", here aplhabets are seperated by variable number of spaces. I want to write a program that reads this string and replaces multiple spaces between alphabets with a single space. The string can be of any length.

Also, please let me know if there is a inbuilt function for this?  
</pre>
<pre></pre>
]]></content:encoded>
	</item>
</channel>
</rss>

