﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-I need time----------------&gt;         Hsssssss@C++-最新评论</title><link>http://www.cppblog.com/dotaqop/CommentsRSS.aspx</link><description>每天进步一...................................</description><language>zh-cn</language><pubDate>Sat, 15 Oct 2011 11:25:01 GMT</pubDate><lastBuildDate>Sat, 15 Oct 2011 11:25:01 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 用面向对象语言实现一个计算器控制台程序</title><link>http://www.cppblog.com/dotaqop/archive/2011/08/12/153193.html#153237</link><dc:creator>Hsssssss</dc:creator><author>Hsssssss</author><pubDate>Fri, 12 Aug 2011 14:16:00 GMT</pubDate><guid>http://www.cppblog.com/dotaqop/archive/2011/08/12/153193.html#153237</guid><description><![CDATA[低耦合<img src ="http://www.cppblog.com/dotaqop/aggbug/153237.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/dotaqop/" target="_blank">Hsssssss</a> 2011-08-12 22:16 <a href="http://www.cppblog.com/dotaqop/archive/2011/08/12/153193.html#153237#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 将16进制字符串转换成10进制数</title><link>http://www.cppblog.com/dotaqop/archive/2011/07/13/148412.html#150827</link><dc:creator>xuorc1986</dc:creator><author>xuorc1986</author><pubDate>Wed, 13 Jul 2011 02:26:00 GMT</pubDate><guid>http://www.cppblog.com/dotaqop/archive/2011/07/13/148412.html#150827</guid><description><![CDATA[int hexstr2dec(const char* str)<br>{<br>	int result = 0;<br>	int decnum = 0;<br>	int i  = 0;<br>	int length = strlen(str);<br><br>	do <br>	{<br>		if(str[i]&lt;='9'&amp;&amp;str[i]&gt;='0')<br>			decnum=str[i]-'0';<br>		else if(str[i]&lt;='f'&amp;&amp;str[i]&gt;='a')<br>			decnum=str[i]-'a'+10;<br>		else if(str[i]&lt;='F'&amp;&amp;str[i]&gt;='A')<br>			decnum=str[i]-'A'+10;<br>		else{<br>			return result;<br>		}<br>		result &lt;&lt;= (i &lt;&lt; 2);<br>		result += decnum;<br>	<br>	} while (i++ &lt; length);<br><br>	return result;<br>}<img src ="http://www.cppblog.com/dotaqop/aggbug/150827.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/dotaqop/" target="_blank">xuorc1986</a> 2011-07-13 10:26 <a href="http://www.cppblog.com/dotaqop/archive/2011/07/13/148412.html#150827#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>