<?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>Formal languages &#8211; Henry Poon&#039;s Blog</title>
	<atom:link href="https://blog.henrypoon.com/blog/tag/formal-languages/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.henrypoon.com</link>
	<description></description>
	<lastBuildDate>Tue, 04 Oct 2022 22:02:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">83044199</site>	<item>
		<title>C++ String to Double or Integer Conversion</title>
		<link>https://blog.henrypoon.com/blog/2010/02/17/c-string-to-double-or-integer-conversion/</link>
					<comments>https://blog.henrypoon.com/blog/2010/02/17/c-string-to-double-or-integer-conversion/#respond</comments>
		
		<dc:creator><![CDATA[hp]]></dc:creator>
		<pubDate>Wed, 17 Feb 2010 23:00:36 +0000</pubDate>
				<category><![CDATA[computer stuff]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Combinatorics]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[D]]></category>
		<category><![CDATA[Fields of mathematics]]></category>
		<category><![CDATA[Formal languages]]></category>
		<category><![CDATA[It]]></category>
		<category><![CDATA[Module:String]]></category>
		<category><![CDATA[Module:String/sandbox]]></category>
		<category><![CDATA[STR]]></category>
		<category><![CDATA[String]]></category>
		<category><![CDATA[Z]]></category>
		<guid isPermaLink="false">http://henrypoon.mooo.com/blog/c-string-to-double-or-integer-conversion</guid>

					<description><![CDATA[If the string that is being converted is actually not a number, then it will return a zero.]]></description>
										<content:encoded><![CDATA[
<pre class="wp-block-code"><code lang="cpp" class="language-cpp">string str = "some number in the form of a string";

double a;

int b;

a = atof(str.c_str()); //conversion to double

b = atoi(str.c_str()); //conversion to int</code></pre>



<p class="wp-block-paragraph">If the string that is being converted is actually not a number, then it will return a zero.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.henrypoon.com/blog/2010/02/17/c-string-to-double-or-integer-conversion/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">229</post-id>	</item>
	</channel>
</rss>
