<?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 for c/c++ linux programming by examples</title>
	<atom:link href="http://cc.byexamples.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://cc.byexamples.com</link>
	<description>c/c++ linux programming tips and techniques with simple examples</description>
	<pubDate>Thu, 28 Aug 2008 14:47:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Comment on create your own time stamp 2 by rouisk</title>
		<link>http://cc.byexamples.com/20070927/create-your-own-time-stamp-2/#comment-1827</link>
		<dc:creator>rouisk</dc:creator>
		<pubDate>Thu, 21 Aug 2008 13:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/20070927/create-your-own-time-stamp-2/#comment-1827</guid>
		<description>it's most probably due to a cast problem.
The strftime's prototype is :
size_t strftime(char *s, size_t maxsize, const char *format, const struct tm *timptr);

Hope this will help.</description>
		<content:encoded><![CDATA[<p>it&#8217;s most probably due to a cast problem.<br />
The strftime&#8217;s prototype is :<br />
size_t strftime(char *s, size_t maxsize, const char *format, const struct tm *timptr);</p>
<p>Hope this will help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GNU readline: Implement Custom Auto-complete by autoverleih</title>
		<link>http://cc.byexamples.com/20080616/gnu-readline-implement-custom-auto-complete/#comment-1825</link>
		<dc:creator>autoverleih</dc:creator>
		<pubDate>Wed, 20 Aug 2008 08:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/?p=41#comment-1825</guid>
		<description>Thanks to the article, it make the life easier and make the commenter come back again and again</description>
		<content:encoded><![CDATA[<p>Thanks to the article, it make the life easier and make the commenter come back again and again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pascal Triangle Challenge by adam</title>
		<link>http://cc.byexamples.com/20070529/pascal-triangle-challenge/#comment-1823</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Mon, 11 Aug 2008 23:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/20070529/pascal-triangle-challenge/#comment-1823</guid>
		<description>that works for applying the spaces, it doesnt answer any questions about the actual calculation of the rows though. you will get a line of 1s decending but how would you go about adding the numbers in the previous row to create the next.</description>
		<content:encoded><![CDATA[<p>that works for applying the spaces, it doesnt answer any questions about the actual calculation of the rows though. you will get a line of 1s decending but how would you go about adding the numbers in the previous row to create the next.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on create a timer by Gianluca</title>
		<link>http://cc.byexamples.com/20070314/create-a-timer/#comment-1821</link>
		<dc:creator>Gianluca</dc:creator>
		<pubDate>Mon, 04 Aug 2008 07:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/20070314/create-a-timer/#comment-1821</guid>
		<description>the code is good; I've found a lot of similar examples on the net but no one indipendent by the current time/date. For example, in my application, timer run for a lot of time (hours or days) and in the meaning time it is appened that someone has changed the time of the system causing the timer to show an erroneous count (the same automatic legal/solar date change cause the problem). 
Can you show an example on how obtain a timer base on system tick count intead on date/time?
thanks</description>
		<content:encoded><![CDATA[<p>the code is good; I&#8217;ve found a lot of similar examples on the net but no one indipendent by the current time/date. For example, in my application, timer run for a lot of time (hours or days) and in the meaning time it is appened that someone has changed the time of the system causing the timer to show an erroneous count (the same automatic legal/solar date change cause the problem).<br />
Can you show an example on how obtain a timer base on system tick count intead on date/time?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GNU readline: Implement Custom Auto-complete by alldevnet.com</title>
		<link>http://cc.byexamples.com/20080616/gnu-readline-implement-custom-auto-complete/#comment-1654</link>
		<dc:creator>alldevnet.com</dc:creator>
		<pubDate>Fri, 25 Jul 2008 18:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/?p=41#comment-1654</guid>
		<description>&lt;strong&gt;Implement Custom Auto-complete...&lt;/strong&gt;

This tip shows implementing custom auto-complete on linux using GNU readline library...</description>
		<content:encoded><![CDATA[<p><strong>Implement Custom Auto-complete&#8230;</strong></p>
<p>This tip shows implementing custom auto-complete on linux using GNU readline library&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on gnu readline: How to keep a history list of entered command lines by alldevnet.com</title>
		<link>http://cc.byexamples.com/20080613/gnu-readline-how-to-keep-a-history-list-of-entered-command-lines/#comment-1653</link>
		<dc:creator>alldevnet.com</dc:creator>
		<pubDate>Fri, 25 Jul 2008 17:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/?p=40#comment-1653</guid>
		<description>&lt;strong&gt;How to keep a history list of entered command lines...&lt;/strong&gt;

This example shows how to keep a history list of entered commands in linux using GNU readline library...</description>
		<content:encoded><![CDATA[<p><strong>How to keep a history list of entered command lines&#8230;</strong></p>
<p>This example shows how to keep a history list of entered commands in linux using GNU readline library&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on libcurl - HTTP,ftp,ssh,telnet,ldap client API by Arno</title>
		<link>http://cc.byexamples.com/20071007/libcurl-httpftpsshtelnetldap-client-api/#comment-1647</link>
		<dc:creator>Arno</dc:creator>
		<pubDate>Fri, 25 Jul 2008 11:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/20071007/libcurl-httpftpsshtelnetldap-client-api/#comment-1647</guid>
		<description>Thanks a lot! This really helped!</description>
		<content:encoded><![CDATA[<p>Thanks a lot! This really helped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pascal Triangle Challenge by Subash</title>
		<link>http://cc.byexamples.com/20070529/pascal-triangle-challenge/#comment-1619</link>
		<dc:creator>Subash</dc:creator>
		<pubDate>Wed, 23 Jul 2008 17:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/20070529/pascal-triangle-challenge/#comment-1619</guid>
		<description>check this college level implementation. Hope this is easy to digest.

#include 
#include 
main()
{
        int level_count = 0, space_count, i, j;

        printf("\n Please enter the number of levels for triangle: ");
        scanf("%d", &#38;level_count);
        printf("\n Here goes your pascal triangle \n");
        space_count = level_count;
        for (i = 0; i &#60; level_count; i++)
        {
                for (j = 0; j &#60; space_count; j++)
                {
                        putchar(' ');
                }
                space_count--;
                for (j = 1; j &lt;i&gt;= 1; j--)
                {
                        printf("%d",j);
                }
                printf("\n");
        }
}</description>
		<content:encoded><![CDATA[<p>check this college level implementation. Hope this is easy to digest.</p>
<p>#include<br />
#include<br />
main()<br />
{<br />
        int level_count = 0, space_count, i, j;</p>
<p>        printf(&#8221;\n Please enter the number of levels for triangle: &#8220;);<br />
        scanf(&#8221;%d&#8221;, &amp;level_count);<br />
        printf(&#8221;\n Here goes your pascal triangle \n&#8221;);<br />
        space_count = level_count;<br />
        for (i = 0; i &lt; level_count; i++)<br />
        {<br />
                for (j = 0; j &lt; space_count; j++)<br />
                {<br />
                        putchar(&#8217; &#8216;);<br />
                }<br />
                space_count&#8211;;<br />
                for (j = 1; j <i>= 1; j&#8211;)<br />
                {<br />
                        printf(&#8221;%d&#8221;,j);<br />
                }<br />
                printf(&#8221;\n&#8221;);<br />
        }<br />
}</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on STL Singleton Template by Subash</title>
		<link>http://cc.byexamples.com/20080609/stl-singleton-template/#comment-1617</link>
		<dc:creator>Subash</dc:creator>
		<pubDate>Wed, 23 Jul 2008 17:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/?p=39#comment-1617</guid>
		<description>Singleton can be implemented in another way as well. We shall declare a static variable in the class. Then in the constructor(which can be public), we will increment the static variable(which is our object instance). If we see the object count exceeding 1, then we can throw from the constructor. By this you can always new for only once from anywhere it is used, and it serves the rule of singleton.</description>
		<content:encoded><![CDATA[<p>Singleton can be implemented in another way as well. We shall declare a static variable in the class. Then in the constructor(which can be public), we will increment the static variable(which is our object instance). If we see the object count exceeding 1, then we can throw from the constructor. By this you can always new for only once from anywhere it is used, and it serves the rule of singleton.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on creating command-line parser by alldevnet.com</title>
		<link>http://cc.byexamples.com/20070122/creating-command-line-parser/#comment-1610</link>
		<dc:creator>alldevnet.com</dc:creator>
		<pubDate>Wed, 23 Jul 2008 14:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/20070122/creating-command-line-parser/#comment-1610</guid>
		<description>&lt;strong&gt;creating command-line parser...&lt;/strong&gt;

Example to create command-line parser in C++ on linux using GNU Library....</description>
		<content:encoded><![CDATA[<p><strong>creating command-line parser&#8230;</strong></p>
<p>Example to create command-line parser in C++ on linux using GNU Library&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
