<?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/tags/printf</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 08:56:58 GMT</pubDate>
<item>
<title>(C) Log all output to file - deepsoul</title>
<link>http://snipplr.com/view/29987/log-all-output-to-file/</link>
<description><![CDATA[ <p>With the code fragment below, you can easily add output logging to a text-based program.  Add the functions, open the log file and replace calls to (f)printf by (f)printflog.</p> ]]></description>
<pubDate>Thu, 18 Mar 2010 16:03:19 GMT</pubDate>
<guid>http://snipplr.com/view/29987/log-all-output-to-file/</guid>
</item>
<item>
<title>(C) Hacky screen clearing through printf - Ktoso</title>
<link>http://snipplr.com/view/15319/hacky-screen-clearing-through-printf/</link>
<description><![CDATA[ <p>A simple and hacky alternative for calling system("clear"); (which you really shouldn't use...). If you really have to get such an clear effect - use this snippet.

Although I realllly recommend using some lib to properly controll the terminal if you need such functions, for example ncurses http://pl.wikipedia.org/wiki/Ncurses or pdcurses http://pdcurses.sourceforge.net/ .</p> ]]></description>
<pubDate>Tue, 26 May 2009 04:52:47 GMT</pubDate>
<guid>http://snipplr.com/view/15319/hacky-screen-clearing-through-printf/</guid>
</item>
</channel>
</rss>