﻿<?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++博客-hzpfly</title><link>http://www.cppblog.com/hzpfly/</link><description /><language>zh-cn</language><lastBuildDate>Tue, 14 Apr 2026 23:09:59 GMT</lastBuildDate><pubDate>Tue, 14 Apr 2026 23:09:59 GMT</pubDate><ttl>60</ttl><item><title>char* string; 与 char string[]; 有何区别</title><link>http://www.cppblog.com/hzpfly/archive/2010/03/24/110472.html</link><dc:creator>hzpfly</dc:creator><author>hzpfly</author><pubDate>Wed, 24 Mar 2010 10:53:00 GMT</pubDate><guid>http://www.cppblog.com/hzpfly/archive/2010/03/24/110472.html</guid><wfw:comment>http://www.cppblog.com/hzpfly/comments/110472.html</wfw:comment><comments>http://www.cppblog.com/hzpfly/archive/2010/03/24/110472.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/hzpfly/comments/commentRss/110472.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hzpfly/services/trackbacks/110472.html</trackback:ping><description><![CDATA[char* string; 与 char string[]; 有何区别？<br>以下代码中：<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; char pBeginPage[10] = "";<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; char pEndPage[10] = "";<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; itoa(aBeginPage, pBeginPage, 10);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; itoa(aEndPage, pEndPage, 10);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; temp.Append(pBeginPage);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; temp.Append(L"-");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; temp.Append(pEndPage);<br>pBeginPage 和 pEndPage 可以声明为 char * 类型吗？<br><br><img src ="http://www.cppblog.com/hzpfly/aggbug/110472.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hzpfly/" target="_blank">hzpfly</a> 2010-03-24 18:53 <a href="http://www.cppblog.com/hzpfly/archive/2010/03/24/110472.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>开始学习《ATL Internals 2nd Edition》</title><link>http://www.cppblog.com/hzpfly/archive/2010/01/26/106488.html</link><dc:creator>hzpfly</dc:creator><author>hzpfly</author><pubDate>Tue, 26 Jan 2010 14:06:00 GMT</pubDate><guid>http://www.cppblog.com/hzpfly/archive/2010/01/26/106488.html</guid><wfw:comment>http://www.cppblog.com/hzpfly/comments/106488.html</wfw:comment><comments>http://www.cppblog.com/hzpfly/archive/2010/01/26/106488.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/hzpfly/comments/commentRss/106488.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hzpfly/services/trackbacks/106488.html</trackback:ping><description><![CDATA[Chapter 1 Hello, ATL<br>Source Code: www.sellsbrothers.com/writing/atlbook<br>请大家到以上链接下载源代码，书上的源码不全。<br><br>下载的源码都是只读属性的，不能编译。可以全选后修改属性，去掉只读属性即可。<br> <img src ="http://www.cppblog.com/hzpfly/aggbug/106488.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hzpfly/" target="_blank">hzpfly</a> 2010-01-26 22:06 <a href="http://www.cppblog.com/hzpfly/archive/2010/01/26/106488.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Pi buster: French software whiz claims record</title><link>http://www.cppblog.com/hzpfly/archive/2010/01/10/He20100110.html</link><dc:creator>hzpfly</dc:creator><author>hzpfly</author><pubDate>Sun, 10 Jan 2010 12:20:00 GMT</pubDate><guid>http://www.cppblog.com/hzpfly/archive/2010/01/10/He20100110.html</guid><wfw:comment>http://www.cppblog.com/hzpfly/comments/105354.html</wfw:comment><comments>http://www.cppblog.com/hzpfly/archive/2010/01/10/He20100110.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/hzpfly/comments/commentRss/105354.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hzpfly/services/trackbacks/105354.html</trackback:ping><description><![CDATA[<p>PARIS (AFP) &#8211;
A French software engineer
said on Friday he was claiming a world record for calculating Pi, the
constant that has fascinated mathematicians for millennia.</p>
<p>
Fabrice Bellard
told AFP he used an inexpensive desktop computer -- and not a
supercomputer used in past records -- to calculate Pi to nearly 2.7
trillion decimal places.</p>
<p>
That is around 123 billion digits more than the previous record set last August by Japanese professor Daisuke Takahashi, he said.</p>
<p>
Takahashi, using a T2K Open Supercomputer, took 29 hours to crunch Pi to 2.577 billion digits.</p>
<p>
Bellard took 131 days, comprising 103 for the computation in binary
digits, 13 days for verification, 12 days to convert the binary digits
to a base of 10 and three final days to check the conversion.</p>
<p>
The gear cost "a bit less than 2,000 euros" (3,000 dollars), Bellard, who earns a living as a software consultant in digital television in Paris, said in an email exchange.</p>
<p>
"It is a completely standard PC. The only unusual thing is that it has five 1.5-teraoctet hard disks. Mainstream PCs generally have only one 1-teraoctet disk."</p>
<p>
Bellard has placed on his website details of the achievement, including
the use of a high-powered mathematical engine called the Chudnovsky
algorithm that chewed through the computation.</p>
<p>
Extracts of the 2,699,999,990,000-digit outcome have been published so
that they can be compared to preceding records in order to gain
independent verification, Bellard told AFP.</p>
<p>
Files containing the digits are also being offered to any outside organism keen on hosting the record, he said.</p>
<p>
Pi, the ratio of a circle's circumference to its diameter, kicks off
with 3.14159... in a string whose digits are believed never to repeat
or end.</p>
<p>
Bellard said he was "not especially interested" in Pi's digits but more
in taking up the gauntlet of writing the software to carry out the
arithmetic.</p>
<p>
"Optimising these algorithms to get good performance is a difficult programming challenge," he wrote.</p>
From http://news.yahoo.com/s/afp/sciencemathematicsfranceoffbeat<br><img src ="http://www.cppblog.com/hzpfly/aggbug/105354.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hzpfly/" target="_blank">hzpfly</a> 2010-01-10 20:20 <a href="http://www.cppblog.com/hzpfly/archive/2010/01/10/He20100110.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>I want to write diary every day!</title><link>http://www.cppblog.com/hzpfly/archive/2010/01/10/He20100109.html</link><dc:creator>hzpfly</dc:creator><author>hzpfly</author><pubDate>Sat, 09 Jan 2010 16:31:00 GMT</pubDate><guid>http://www.cppblog.com/hzpfly/archive/2010/01/10/He20100109.html</guid><wfw:comment>http://www.cppblog.com/hzpfly/comments/105309.html</wfw:comment><comments>http://www.cppblog.com/hzpfly/archive/2010/01/10/He20100109.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/hzpfly/comments/commentRss/105309.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hzpfly/services/trackbacks/105309.html</trackback:ping><description><![CDATA[To improve my writing ability, I want to write blog every day!<br>Today I recognize one important thing:<br>&nbsp; You must research the code to improve your programming level, not search in Google!<br>&nbsp; From now on, I should not find information as soon as I encounter a problem. I will research all the information I have first! I can review my codes first, I can read my books first; I can research my documents and papers first. After all of these, I google my problem then.<br><br> <img src ="http://www.cppblog.com/hzpfly/aggbug/105309.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hzpfly/" target="_blank">hzpfly</a> 2010-01-10 00:31 <a href="http://www.cppblog.com/hzpfly/archive/2010/01/10/He20100109.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>