<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>https://jackxiang.com/post//</link>
<title><![CDATA[c++版本的转换和c版本转换]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Thu, 25 Oct 2007 09:52:57 +0000</pubDate> 
<guid>https://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	#include &lt;stdio.h&gt;<br/>#include &lt;string&gt;<br/>#include &lt;sstream&gt;<br/><br/>using namespace std;<br/><br/>int main(void)<br/>{<br/> &nbsp; &nbsp; &nbsp; &nbsp;string a = &quot;312.29&quot;;<br/> &nbsp; &nbsp; &nbsp; &nbsp;string b;<br/> &nbsp; &nbsp; &nbsp; &nbsp;float f;<br/> &nbsp; &nbsp; &nbsp; &nbsp;stringstream mm;<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;mm &lt;&lt; a;<br/> &nbsp; &nbsp; &nbsp; &nbsp;mm &gt;&gt; f;<br/> &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;f=[%f]&#92;n&quot;, f);<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;mm.clear();<br/> &nbsp; &nbsp; &nbsp; &nbsp;mm &lt;&lt; f;<br/> &nbsp; &nbsp; &nbsp; &nbsp;mm &gt;&gt; b;<br/> &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;b=[%s]&#92;n&quot;, b.c_str());<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;return 0;<br/>}<br/><br/><br/>#include &lt;stdio.h&gt;<br/>#include &lt;math.h&gt;<br/>#include &lt;string&gt;<br/>using namespace std;<br/>int main(void)<br/>{<br/> &nbsp; &nbsp; &nbsp; &nbsp;float f;<br/> &nbsp; &nbsp; &nbsp; &nbsp;string a = &quot;312.29&quot;;<br/> &nbsp; &nbsp; &nbsp; &nbsp;char c[100];<br/> &nbsp; &nbsp; &nbsp; &nbsp;string b;<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;f = atof(a.c_str());<br/> &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;f=[%f]&#92;n&quot;, f);<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;if (f&gt;2008)<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;more than 2008&#92;n&quot;);<br/> &nbsp; &nbsp; &nbsp; &nbsp;else<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;less than 2008&#92;n&quot;);<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;sprintf(c, &quot;%f&quot;, f);<br/> &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;c=[%s]&#92;n&quot;, c);<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;b = c;<br/> &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;b=[%s]&#92;n&quot;, b.c_str());<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;return 0;<br/>}
]]>
</description>
</item><item>
<link>https://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] c++版本的转换和c版本转换]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>