<?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/"
	>

<channel>
	<title>The Bits 2.0 &#187; Programming Tips</title>
	<atom:link href="http://www.thebits.info/category/programming-tips/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thebits.info</link>
	<description>Not your everyday tech journal</description>
	<lastBuildDate>Sun, 29 Nov 2009 15:03:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Reading outputs of an external program in C++</title>
		<link>http://www.thebits.info/linux/reading-outputs-of-an-external-program-in-c-166.htm</link>
		<comments>http://www.thebits.info/linux/reading-outputs-of-an-external-program-in-c-166.htm#comments</comments>
		<pubDate>Fri, 12 Jun 2009 15:34:32 +0000</pubDate>
		<dc:creator>Lord TCT</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming Tips]]></category>

		<guid isPermaLink="false">http://www.thebits.info/?p=166</guid>
		<description><![CDATA[Ever wanted to grab the output of a command via C++?
In PHP, we are all very familiar with @exec and popen, but what about C++?
Try this:

string cmd = &#8220;/usr/bin/netstat -na&#8221;;
string OutString;
FILE *FileStream;
char stdbuffer[1024];
FileStream = popen(cmd.c_str(), &#8220;r&#8221;);
while (fgets(stdbuffer, 1024, FileStream) != NULL)
        OutString.append(stdbuffer);
pclose(FileStream);


The first 3 lines are variable declarations.
This [...]]]></description>
		<wfw:commentRss>http://www.thebits.info/linux/reading-outputs-of-an-external-program-in-c-166.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VB Tips #1: Visual Basic PowerPack</title>
		<link>http://www.thebits.info/programming-tips/visual-basic-tips/vb-powerpack-26.htm</link>
		<comments>http://www.thebits.info/programming-tips/visual-basic-tips/vb-powerpack-26.htm#comments</comments>
		<pubDate>Sat, 22 Mar 2008 22:19:18 +0000</pubDate>
		<dc:creator>Lord TCT</dc:creator>
				<category><![CDATA[Visual Basic]]></category>
		<category><![CDATA[visual basic]]></category>

		<guid isPermaLink="false">http://www.thebits.info/?p=26</guid>
		<description><![CDATA[Surprisingly, one of the most useful extension to Microsoft Visual Studio goes largely unnoticed: Visual Basic PowerPack.
Think of Visual Basic PowerPack as the managed code reincarnation of a collection controls that made life easy on VB6 but were dropped since VB7:

Controls include PrintForm, LineShape, OvalShape, RectangleShape and DataRepeater. Oh those good old days are back!
]]></description>
		<wfw:commentRss>http://www.thebits.info/programming-tips/visual-basic-tips/vb-powerpack-26.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
