<?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>Arturito.net &#187; C++</title>
	<atom:link href="http://arturito.net/category/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://arturito.net</link>
	<description>Anyone who has never made a mistake has never tried anything new. - A.Einstein</description>
	<lastBuildDate>Sun, 29 Aug 2010 02:19:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='arturito.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9c8555c9859e626ff35d19a09122f2eb?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Arturito.net &#187; C++</title>
		<link>http://arturito.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://arturito.net/osd.xml" title="Arturito.net" />
	<atom:link rel='hub' href='http://arturito.net/?pushpress=hub'/>
		<item>
		<title>Visual Studio C# Regular Expressions Examples</title>
		<link>http://arturito.net/2010/03/26/visual-studio-c-regular-expressions-examples/</link>
		<comments>http://arturito.net/2010/03/26/visual-studio-c-regular-expressions-examples/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 16:53:45 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=211</guid>
		<description><![CDATA[Numeric values: public bool isNumeric(string str) { Regex pattern = new Regex("[^0-9]"); return !pattern.IsMatch(str); } Alfa values: private bool IsAlpha(string str) { Regex pattern = new Regex("[^a-zA-Z]"); return !pattern.IsMatch(str); } Alfa numeric values: private bool isAlfaNumeric(string str) { Regex pattern = new Regex("[^a-zA-Z0-9]"); return !pattern.IsMatch(str); }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arturito.net&amp;blog=995682&amp;post=211&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Numeric values:</p>
<p><code><br />
public bool isNumeric(string str) {<br />
Regex pattern = new Regex("[^0-9]");<br />
return !pattern.IsMatch(str);<br />
}<br />
</code></p>
<p>Alfa values:</p>
<p><code><br />
private bool IsAlpha(string str) {<br />
Regex pattern = new Regex("[^a-zA-Z]");<br />
return !pattern.IsMatch(str);<br />
}<br />
</code></p>
<p>Alfa numeric values:</p>
<p><code>private bool isAlfaNumeric(string str) {<br />
Regex pattern = new Regex("[^a-zA-Z0-9]");<br />
return !pattern.IsMatch(str);<br />
}<br />
</code></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arturito.net&amp;blog=995682&amp;post=211&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arturito.net/2010/03/26/visual-studio-c-regular-expressions-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ Press any key to continue</title>
		<link>http://arturito.net/2009/04/21/c-plus-plus-press-any-key-to-continue/</link>
		<comments>http://arturito.net/2009/04/21/c-plus-plus-press-any-key-to-continue/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 13:19:26 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=208</guid>
		<description><![CDATA[When I write some console application in Bloodshed Dev C++ or Visual Studio, I hate bringing up comand line and typing in the whole path to the program I&#8217;ve just written. I found two short ways of having &#8220;Press any key to continue&#8230;&#8221; before the console window disappears. One of them is a good one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arturito.net&amp;blog=995682&amp;post=208&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I write some console application in Bloodshed Dev C++ or Visual Studio, I hate bringing up comand line and typing in the whole path to the program I&#8217;ve just written. I found two short ways of having &#8220;Press any key to continue&#8230;&#8221; before the console window disappears. One of them is a <strong>good</strong> one and the other is <strong>bad</strong>.</p>
<p>1. Good one<br />
<code><br />
int main()</p>
<p>{</p>
<p>// do something</p>
<p>cout&lt;&lt;"Press Enter to continue...";<br />
cin.get();<br />
}<br />
</code></p>
<p>Well, this one really is &#8220;Press Enter to continue&#8230;&#8221;, which shouldn&#8217;t be a problem <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>2. Bad one<br />
<code><br />
int main()<br />
{</p>
<p>// do something</p>
<p>system.("PAUSE");<br />
}<br />
</code><br />
This one is very bad! If you want to know why, read this article:</p>
<p><a href="http://www.gidnetwork.com/b-61.html"></a><a href="http://www.gidnetwork.com/b-61.html" rel="nofollow">http://www.gidnetwork.com/b-61.html</a></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arturito.net&amp;blog=995682&amp;post=208&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arturito.net/2009/04/21/c-plus-plus-press-any-key-to-continue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ Delay Function</title>
		<link>http://arturito.net/2009/03/24/c-plus-plus-delay-function-dev-c-plus-plus-and-visual-studio/</link>
		<comments>http://arturito.net/2009/03/24/c-plus-plus-delay-function-dev-c-plus-plus-and-visual-studio/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 21:38:47 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=196</guid>
		<description><![CDATA[#include &#60;ctime&#62; void delay(int n) { clock_t start_time, cur_time; start_time = clock();    while((clock() - start_time) &#60; n * CLOCKS_PER_SEC) {} } int main() { // do something delay(5); // delays 5 seconds }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arturito.net&amp;blog=995682&amp;post=196&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>#include &lt;ctime&gt;</p>
<p>void delay(int n)<br />
{<br />
clock_t start_time, cur_time; start_time = clock();    while((clock() - start_time) &lt; n * CLOCKS_PER_SEC)<br />
{}<br />
}</p>
<p>int main()<br />
{<br />
// do something<br />
delay(5);<br />
// delays 5 seconds<br />
}<br />
</code></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arturito.net&amp;blog=995682&amp;post=196&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arturito.net/2009/03/24/c-plus-plus-delay-function-dev-c-plus-plus-and-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
		<item>
		<title>C++ Integer to String conversion</title>
		<link>http://arturito.net/2009/02/24/integer-to-string-conversion-in-cpp/</link>
		<comments>http://arturito.net/2009/02/24/integer-to-string-conversion-in-cpp/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 19:32:20 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[C++]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=167</guid>
		<description><![CDATA[I wrote this little function which converts integer type variable to string. Always very handy! #include &#60;sstream&#62; string toString(int n) { string str; stringstream out; out&#60; return str = out.str(); }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arturito.net&amp;blog=995682&amp;post=167&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wrote this little function which converts integer type variable to string. Always very handy!</p>
<p><code><br />
#include &lt;sstream&gt;</p>
<p>string toString(int n)<br />
{<br />
string str;<br />
stringstream out;<br />
out&lt;<br />
return str = out.str();<br />
}<br />
</code><br />
<a href="http://www.bloodshed.net/devcpp.html"><img class="size-full wp-image-169 alignright" title="Dev C++" src="http://dartharturito.files.wordpress.com/2009/02/box_logo.jpg?w=174&#038;h=76" alt="box_logo" width="174" height="76" /></a></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arturito.net&amp;blog=995682&amp;post=167&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arturito.net/2009/02/24/integer-to-string-conversion-in-cpp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>

		<media:content url="http://dartharturito.files.wordpress.com/2009/02/box_logo.jpg" medium="image">
			<media:title type="html">Dev C++</media:title>
		</media:content>
	</item>
	</channel>
</rss>