<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/c-plus-plus/tags/c</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 21 Aug 2008 17:35:56 GMT</pubDate>
<item>
<title>(C++) Linksys backup format to text convertor - narkisr</title>
<link>http://snipplr.com/view/7020/linksys-backup-format-to-text-convertor/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 29 Jun 2008 16:29:32 GMT</pubDate>
<guid>http://snipplr.com/view/7020/linksys-backup-format-to-text-convertor/</guid>
</item>
<item>
<title>(C++) The famous InvSqrt() - Feb30th1712</title>
<link>http://snipplr.com/view/4554/the-famous-invsqrt/</link>
<description><![CDATA[ <p>Unknown author</p> ]]></description>
<pubDate>Mon, 14 Jan 2008 06:10:01 GMT</pubDate>
<guid>http://snipplr.com/view/4554/the-famous-invsqrt/</guid>
</item>
<item>
<title>(C++) Crazy C++ Code - darkphotn</title>
<link>http://snipplr.com/view/4535/crazy-c-code/</link>
<description><![CDATA[ <p>Yes, this is valid code.

Designed by myself, unless otherwise noted.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:07:11 GMT</pubDate>
<guid>http://snipplr.com/view/4535/crazy-c-code/</guid>
</item>
<item>
<title>(C++) Crazy C Code - darkphotn</title>
<link>http://snipplr.com/view/4533/crazy-c-code/</link>
<description><![CDATA[ <p>Yes, it's valid code.

Created by myself, unless otherwise noted.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:01:14 GMT</pubDate>
<guid>http://snipplr.com/view/4533/crazy-c-code/</guid>
</item>
<item>
<title>(C++) C Console Scripting Framework - darkphotn</title>
<link>http://snipplr.com/view/4527/c-console-scripting-framework/</link>
<description><![CDATA[ <p>This demonstrates how to make your own console "scripts" using C -- for example, you could capitalize every character that comes in.  Tweak the line labelled "TWEAK THIS LINE" in order to get it to do what you want.  This particular example will add "/new/" to the beginning of every filename and stick the result to a text file.  The listed DOS command can be stuck in a .BAT file and run from Windows like a program.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 12:32:55 GMT</pubDate>
<guid>http://snipplr.com/view/4527/c-console-scripting-framework/</guid>
</item>
<item>
<title>(C++) setjmp - Feb30th1712</title>
<link>http://snipplr.com/view/4511/setjmp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Jan 2008 08:54:05 GMT</pubDate>
<guid>http://snipplr.com/view/4511/setjmp/</guid>
</item>
<item>
<title>(C++) racing condition - Feb30th1712</title>
<link>http://snipplr.com/view/4509/racing-condition/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Jan 2008 08:50:56 GMT</pubDate>
<guid>http://snipplr.com/view/4509/racing-condition/</guid>
</item>
<item>
<title>(C++) foreach in c++ (#define) - yuconner</title>
<link>http://snipplr.com/view/4262/foreach-in-c-define/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 04 Dec 2007 15:35:42 GMT</pubDate>
<guid>http://snipplr.com/view/4262/foreach-in-c-define/</guid>
</item>
<item>
<title>(C++) Reverse a Linked List - iTony</title>
<link>http://snipplr.com/view/4080/reverse-a-linked-list/</link>
<description><![CDATA[ <p>this pointers are making me dizzy, so just for a reference i'll keep them here.</p> ]]></description>
<pubDate>Tue, 06 Nov 2007 16:24:04 GMT</pubDate>
<guid>http://snipplr.com/view/4080/reverse-a-linked-list/</guid>
</item>
<item>
<title>(C++) Filename input and reading - pckujawa</title>
<link>http://snipplr.com/view/2308/filename-input-and-reading/</link>
<description><![CDATA[ <p>Use to get console input from the user for a file name (in the current directory) and read in from that file.</p> ]]></description>
<pubDate>Mon, 12 Mar 2007 15:58:35 GMT</pubDate>
<guid>http://snipplr.com/view/2308/filename-input-and-reading/</guid>
</item>
<item>
<title>(C++) Safe application spawning with fork+exec - CUViper</title>
<link>http://snipplr.com/view/1790/safe-application-spawning-with-forkexec/</link>
<description><![CDATA[ <p>With the typical fork+exec method of spawning an application, you are left in the dark about failures in the exec.  Once the fork occurs, the "main" process doesn't have any communication channel except waitpid, so it's hard to tell what happened.

With this function, a pipe is opened for the forked child to communicate errors.  If the exec succeeds, then the pipe is automatically closed, and the main process reports success.  Otherwise, the errno from exec is communicated through the pipe.</p> ]]></description>
<pubDate>Mon, 11 Dec 2006 17:55:15 GMT</pubDate>
<guid>http://snipplr.com/view/1790/safe-application-spawning-with-forkexec/</guid>
</item>
<item>
<title>(C++) (Integer to String ) itoa - priyanhere</title>
<link>http://snipplr.com/view/1667/integer-to-string--itoa/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 15 Nov 2006 02:29:48 GMT</pubDate>
<guid>http://snipplr.com/view/1667/integer-to-string--itoa/</guid>
</item>
<item>
<title>(C++) C - create Process Daemon - whitetiger</title>
<link>http://snipplr.com/view/1629/c--create-process-daemon/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:41 GMT</pubDate>
<guid>http://snipplr.com/view/1629/c--create-process-daemon/</guid>
</item>
<item>
<title>(C++) C++ - Hello World - whitetiger</title>
<link>http://snipplr.com/view/1613/c--hello-world/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:20 GMT</pubDate>
<guid>http://snipplr.com/view/1613/c--hello-world/</guid>
</item>
<item>
<title>(C++) C - clear screen - whitetiger</title>
<link>http://snipplr.com/view/1604/c--clear-screen/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:08 GMT</pubDate>
<guid>http://snipplr.com/view/1604/c--clear-screen/</guid>
</item>
<item>
<title>(C++) C - command - whitetiger</title>
<link>http://snipplr.com/view/1603/c--command/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:07 GMT</pubDate>
<guid>http://snipplr.com/view/1603/c--command/</guid>
</item>
<item>
<title>(C++) Xlib - mouseMove - whitetiger</title>
<link>http://snipplr.com/view/1601/xlib--mousemove/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:06 GMT</pubDate>
<guid>http://snipplr.com/view/1601/xlib--mousemove/</guid>
</item>
<item>
<title>(C++) Xlib - mouseClick - whitetiger</title>
<link>http://snipplr.com/view/1599/xlib--mouseclick/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:04 GMT</pubDate>
<guid>http://snipplr.com/view/1599/xlib--mouseclick/</guid>
</item>
<item>
<title>(C++) C - Example Buffer OverFlow - whitetiger</title>
<link>http://snipplr.com/view/1580/c--example-buffer-overflow/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:54:43 GMT</pubDate>
<guid>http://snipplr.com/view/1580/c--example-buffer-overflow/</guid>
</item>
<item>
<title>(C++) Two-Dimensional Table - sylvan</title>
<link>http://snipplr.com/view/364/twodimensional-table/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 12 Jul 2006 08:43:35 GMT</pubDate>
<guid>http://snipplr.com/view/364/twodimensional-table/</guid>
</item>
</channel>
</rss>