<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Not So Frequently Asked Questions &#187; C/C++</title>
	<atom:link href="http://notfaq.wordpress.com/category/cc/feed/" rel="self" type="application/rss+xml" />
	<link>http://notfaq.wordpress.com</link>
	<description>FAQ, Tips &#38; Tricks For Unix, Emacs And Other Useful Tools</description>
	<lastBuildDate>Mon, 17 Nov 2008 04:54:59 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='notfaq.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/195a0ac7598ae98f0cc1c9d4c42d93a6?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Not So Frequently Asked Questions &#187; C/C++</title>
		<link>http://notfaq.wordpress.com</link>
	</image>
			<item>
		<title>C/C++ &#8212; Insert sequential values into container</title>
		<link>http://notfaq.wordpress.com/2008/11/07/cc-insert-sequential-values-in-container/</link>
		<comments>http://notfaq.wordpress.com/2008/11/07/cc-insert-sequential-values-in-container/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 03:37:57 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/?p=136</guid>
		<description><![CDATA[To insert sequential values into a container, you could use the iota function available in ext/numeric header. For example:
#include &#60;ext/numeric&#62;
#include &#60;vector&#62;
&#8230;
std::vector&#60;int&#62; v(5);
__gnu_cxx::iota(v.begin(), v.end(), 0);
v will contain {0, 1, 2, 3, 4}.
For more information see sgi documentation
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=136&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To insert sequential values into a container, you could use the <strong>iota</strong> function available in <strong>ext/numeric</strong> header. For example:<strong></strong></p>
<p><strong>#include &lt;ext/numeric&gt;<br />
#include &lt;vector&gt;<br />
&#8230;</strong></p>
<p><strong>std::vector&lt;int&gt; v(5);<br />
__gnu_cxx::iota(v.begin(), v.end(), 0);</strong></p>
<p><strong>v</strong> will contain <strong>{0, 1, 2, 3, 4}</strong>.</p>
<p>For more information see <a href="http://www.sgi.com/tech/stl/iota.html">sgi documentation</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=136&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2008/11/07/cc-insert-sequential-values-in-container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8212; Friends and Templates</title>
		<link>http://notfaq.wordpress.com/2007/11/03/cc-friends-and-templates/</link>
		<comments>http://notfaq.wordpress.com/2007/11/03/cc-friends-and-templates/#comments</comments>
		<pubDate>Sun, 04 Nov 2007 01:06:11 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/11/03/cc-friends-and-templates/</guid>
		<description><![CDATA[In C++, if you declare a template class and you would like to have a friend function that has an argument of the current class type, you need to be careful when specifying the name of the template types. For example:
template &#60;class T&#62;
class A {
&#8230;
template &#60;class T&#62;
friend void b(A&#60;T&#62; a);
} ;

Will confuse the compiler, as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=122&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In <strong>C++</strong>, if you declare a template class and you would like to have a friend function that has an argument of the current class type, you need to be careful when specifying the name of the template types. For example:</p>
<p><strong>template &lt;class T&gt;<br />
class A {<br />
&#8230;<br />
template &lt;class T&gt;<br />
friend void b(A&lt;T&gt; a);<br />
} ;<br />
</strong></p>
<p>Will confuse the compiler, as you use the same template name, <strong>T</strong>, for the class template and the function template type. What you need to do, it to use a different name for the function template type:</p>
<p><strong>template &lt;class T&gt;<br />
class A {<br />
&#8230;<br />
template &lt;class V&gt;<br />
friend void b(A&lt;V&gt; a);<br />
} ;</strong></p>
<p>Notice that I used <strong>T</strong> for the class template type and <strong>V</strong> for the function template type.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/122/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/122/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=122&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/11/03/cc-friends-and-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8212; Convert string to upper/lower case</title>
		<link>http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/</link>
		<comments>http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 04:20:01 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/</guid>
		<description><![CDATA[To convert an std::string to upper case you can use the following:
#include &#60;algorithm&#62;
#include &#60;string&#62;
&#8230;
std::string data = &#8220;Abc&#8221;;
std::transform(data.begin(), data.end(),
data.begin(), ::toupper);
For converting to lower case, you need to replace ::toupper with ::tolower.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=120&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To convert an <strong>std::string</strong> to upper case you can use the following:</p>
<p><strong>#include &lt;algorithm&gt;<br />
#include &lt;string&gt;<br />
&#8230;<br />
std::string data = &#8220;Abc&#8221;;<br />
std::transform(data.begin(), data.end(),<br />
data.begin(), ::toupper);</strong></p>
<p>For converting to lower case, you need to replace <strong>::toupper</strong> with <strong>::tolower</strong>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/120/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/120/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=120&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/08/04/cc-convert-string-to-upperlower-case/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; _M_underflow_common</title>
		<link>http://notfaq.wordpress.com/2007/02/13/cc-_m_underflow_common/</link>
		<comments>http://notfaq.wordpress.com/2007/02/13/cc-_m_underflow_common/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 23:07:31 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/02/13/cc-_m_underflow_common/</guid>
		<description><![CDATA[When you define you own character traits (e.g., ignorecase_traits &#8211; to ignore the case when comparing strings) you might run into the following link error:

In function `std::basic_filebuf&#60;char, ignorecase_traits&#62;::uflow()'::
undefined reference to `std::basic_filebuf&#60;char, ignorecase_traits&#62;::
_M_underflow_common(bool)'
The solution is to add the following to one of your CC/CPP  files:

struct cGet_M_underflow_common : std::basic_filebuf&#60;char&#62; {
  int_type mGet_M_underflow_common(bool b) {
  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=115&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When you define you own character traits (e.g., ignorecase_traits &#8211; to ignore the case when comparing strings) you might run into the following link error:</p>
<pre>
In function `std::basic_filebuf&lt;char, ignorecase_traits&gt;::uflow()'::
undefined reference to `std::basic_filebuf&lt;char, ignorecase_traits&gt;::
_M_underflow_common(bool)'</pre>
<p>The solution is to add the following to one of your <strong>CC/CPP </strong> files:</p>
<pre>
struct cGet_M_underflow_common : std::basic_filebuf&lt;char&gt; {
  int_type mGet_M_underflow_common(bool b) {
    return _M_underflow_common(b);
  };
};

icfielbuf::int_type icfielbuf::_M_underflow_common(bool bump) {
  return reinterpret_cast&lt;cGet_M_underflow_common *&gt;(this)-&gt;
    mGet_M_underflow_common(bump);
};</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/115/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/115/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=115&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/02/13/cc-_m_underflow_common/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; binary IO</title>
		<link>http://notfaq.wordpress.com/2007/02/01/cc-binary-io/</link>
		<comments>http://notfaq.wordpress.com/2007/02/01/cc-binary-io/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 05:56:11 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://notfaq.wordpress.com/2007/02/01/cc-binary-io/</guid>
		<description><![CDATA[Here is an example of how we can write to and read from files in binary:
Write:
ofstream file(&#8220;foo.txt&#8221;, ios::out &#124; ios::binary);
unsigned e =101;
file.write(reinterpret_cast&#60;char*&#62;(&#38;e), sizeof(unsigned));
Read:
ifstream file(&#8220;foo.txt&#8221;, ios::in &#124; ios::binary);
unsigned e;
file.read(reinterpret_cast&#60;char*&#62;(&#38;e), sizeof(unsigned));
More info:
http://courses.cs.vt.edu/~cs2604/spring06/binio.html
 http://www.codersource.net/cpp_file_io_binary.html

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=113&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is an example of how we can write to and read from files in binary:</p>
<p>Write:<strong><br />
ofstream file(&#8220;foo.txt&#8221;, ios::out | ios::binary);<br />
unsigned e =101;<br />
file.write(reinterpret_cast&lt;char*&gt;(&amp;e), sizeof(unsigned));</strong></p>
<p>Read:<strong><br />
ifstream file(&#8220;foo.txt&#8221;, ios::in | ios::binary);<br />
unsigned e;<br />
file.read(reinterpret_cast&lt;char*&gt;(&amp;e), sizeof(unsigned));</strong></p>
<p>More info:<br />
<a href="http://courses.cs.vt.edu/~cs2604/spring06/binio.html">http://courses.cs.vt.edu/~cs2604/spring06/binio.html<br />
</a><a href="http://www.codersource.net/cpp_file_io_binary.html"> http://www.codersource.net/cpp_file_io_binary.html</a><a href="http://courses.cs.vt.edu/~cs2604/spring06/binio.html"><br />
</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/113/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/113/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=113&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2007/02/01/cc-binary-io/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; GCC create a static library</title>
		<link>http://notfaq.wordpress.com/2006/09/01/cc-gcc-create-a-static-library/</link>
		<comments>http://notfaq.wordpress.com/2006/09/01/cc-gcc-create-a-static-library/#comments</comments>
		<pubDate>Fri, 01 Sep 2006 18:25:56 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[GCC]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/09/01/cc-gcc-create-a-static-library/</guid>
		<description><![CDATA[You can create a static library from object files using the following command:
ar rcs libfunc.a func1.o func2.o func3.o
To link the libary to your code you can use use:
g++ -o exe_file exe_file.o -L. -lfunc
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=102&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>You can create a static library from object files using the following command:</p>
<p><strong>ar rcs libfunc.a func1.o func2.o func3.o</strong></p>
<p>To link the libary to your code you can use use:</p>
<p><strong>g++ -o exe_file exe_file.o -L. -lfunc</strong></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/102/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/102/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=102&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/09/01/cc-gcc-create-a-static-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8212; Convert int to string</title>
		<link>http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/</link>
		<comments>http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/#comments</comments>
		<pubDate>Wed, 30 Aug 2006 19:01:11 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/</guid>
		<description><![CDATA[In order to convert an int (or any other numeric type, e.g., float, double, etc.) to string, you can use:
#include &#60;sstream&#62;
int i = 5;
std::string s;
std::stringstream out;
out &#60;&#60; i;
s = out.str();
Other C/C++ not so frequently asked questions.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=101&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In order to convert an <b>int </b>(or any other numeric type, e.g., <b>float</b>, <b>double</b>, etc.) to <b>string</b>, you can use:</p>
<p><b>#include &lt;sstream&gt;</b></p>
<p><b>int i = 5;<br />
std::string s;<br />
std::stringstream out;<br />
out &lt;&lt; i;<br />
s = out.str();</b></p>
<p>Other <a href="http://notfaq.wordpress.com/tag/cc/">C/C++</a> not so frequently asked questions.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/101/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/101/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=101&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/30/c-convert-int-to-string/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8212; printf &#8212; Number of chars to output</title>
		<link>http://notfaq.wordpress.com/2006/08/25/cc-printf-length-of-char-buffers/</link>
		<comments>http://notfaq.wordpress.com/2006/08/25/cc-printf-length-of-char-buffers/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 20:26:05 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/25/cc-printf-length-of-char-buffers/</guid>
		<description><![CDATA[If you want to output a specified number of chars from a char array using a printf-like function, you can use:
char buffer[] = &#8220;Hi there!&#8221;;
int n = 2;
printf(&#8220;%.*s&#8221;, n, buffer); // outputs &#8220;Hi&#8221;

It will output only the first n number of characters form buffer.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=99&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you want to output a specified number of chars from a char array using a <strong>printf</strong>-like function, you can use:</p>
<p><strong>char buffer[] = &#8220;Hi there!&#8221;;<br />
int n = 2;<br />
printf(&#8220;%.*s&#8221;, n, buffer); // outputs &#8220;Hi&#8221;<br />
</strong></p>
<p>It will output only the first <strong>n </strong>number of characters form <strong>buffer</strong>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/99/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/99/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=99&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/25/cc-printf-length-of-char-buffers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; non blocking file descriptor</title>
		<link>http://notfaq.wordpress.com/2006/08/24/cc-non-blocking-file-descriptor/</link>
		<comments>http://notfaq.wordpress.com/2006/08/24/cc-non-blocking-file-descriptor/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 01:58:07 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/24/cc-non-blocking-file-descriptor/</guid>
		<description><![CDATA[If you got an input file descriptor by using open() (&#60;unistd.h&#62;) or other function that creates a file descriptor and you want to set the descriptor to be non blocking on read, you can do:
fcntl(file_desc, F_SETFL, O_NONBLOCK); // &#60;fcntl.h&#62;

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=97&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you got an input file descriptor by using <b>open()</b> (<b>&lt;unistd.h&gt;</b>) or other function that creates a file descriptor and you want to set the descriptor to be non blocking on read, you can do:</p>
<p><b>fcntl(<i>file_desc</i>, F_SETFL, O_NONBLOCK); // &lt;fcntl.h&gt;<br />
</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/97/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/97/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=97&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/24/cc-non-blocking-file-descriptor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8211; convert object to char*</title>
		<link>http://notfaq.wordpress.com/2006/08/23/c-convert-object-to-char/</link>
		<comments>http://notfaq.wordpress.com/2006/08/23/c-convert-object-to-char/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 21:34:25 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/23/c-convert-object-to-char/</guid>
		<description><![CDATA[To easily convert an object to char* you can write an operator like:
class String {
char str[80];
operator char *() { return str; } // convert to char*
}
And the you can use it like this:
char *buf;
String s;
buf =s; 
More here:
http://www.ee.cooper.edu/courses/course_pages/past_courses/EID151/CPP.html 
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=96&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To easily convert an object to <b>char*</b> you can write an operator like:</p>
<p><b>class String {<br />
char str[80];</b><br />
<b>operator char *() { return str; } // convert to char*</b><br />
<b>}</b></p>
<p>And the you can use it like this:</p>
<p><b>char *buf;<br />
String s;<br />
buf =s; </b></p>
<p>More here:<br />
<a href="http://www.ee.cooper.edu/courses/course_pages/past_courses/EID151/CPP.html">http://www.ee.cooper.edu/courses/course_pages/past_courses/EID151/CPP.html </a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/96/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/96/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=96&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/23/c-convert-object-to-char/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C/C++ &#8211; symbols in object files</title>
		<link>http://notfaq.wordpress.com/2006/08/22/cc-symbols-in-object-files/</link>
		<comments>http://notfaq.wordpress.com/2006/08/22/cc-symbols-in-object-files/#comments</comments>
		<pubDate>Tue, 22 Aug 2006 21:54:44 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/22/cc-symbols-in-object-files/</guid>
		<description><![CDATA[In order to check if a certain symbol (e.g., function) is defined in a certain object file you can use:
nm object_file &#124; grep symbol_name
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=95&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In order to check if a certain symbol (e.g., function) is defined in a certain object file you can use:</p>
<p><b>nm <i>object_file</i> | grep <i>symbol_name</i></b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/95/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/95/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=95&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/22/cc-symbols-in-object-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8211; funtion template</title>
		<link>http://notfaq.wordpress.com/2006/08/18/c-funtion-template/</link>
		<comments>http://notfaq.wordpress.com/2006/08/18/c-funtion-template/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 18:13:27 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/18/c-funtion-template/</guid>
		<description><![CDATA[Here is an example of a function template:
template &#60;class T&#62;
T Add(T a, T b)
{
return a+b;
}
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=92&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is an example of a function template:</p>
<p><b>template &lt;class T&gt;<br />
T Add(T a, T b)<br />
{<br />
return a+b;<br />
}</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/92/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/92/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=92&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/18/c-funtion-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ &#8211; output operator</title>
		<link>http://notfaq.wordpress.com/2006/08/17/c-output-operator/</link>
		<comments>http://notfaq.wordpress.com/2006/08/17/c-output-operator/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 19:21:29 +0000</pubDate>
		<dc:creator>Rares Vernica</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">https://notfaq.wordpress.com/2006/08/17/c-output-operator/</guid>
		<description><![CDATA[In order to enable the output operator &#60;&#60; in your object you need to add the following function in your class definition:
friend ostream&#38; operator&#60;&#60;(ostream&#38; out, const ClassName&#38; object)
{
&#8230;
return out;
}
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=91&subd=notfaq&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In order to enable the output operator <b>&lt;&lt;</b> in your object you need to add the following function in your class definition:</p>
<p><b>friend ostream&amp; operator&lt;&lt;(ostream&amp; out, const <i>ClassName</i>&amp; <i>object</i>)<br />
{<br />
&#8230;<br />
return out;<br />
}</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notfaq.wordpress.com/91/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notfaq.wordpress.com/91/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notfaq.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notfaq.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notfaq.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=notfaq.wordpress.com&blog=314942&post=91&subd=notfaq&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://notfaq.wordpress.com/2006/08/17/c-output-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15bbe61514639ab72302fd7364e0d3fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rvernica</media:title>
		</media:content>
	</item>
	</channel>
</rss>