??xml version="1.0" encoding="utf-8" standalone="yes"?>2020久久精品国产免费,久久精品国产亚洲5555,精品国产一区二区三区久久久狼http://www.shnenglu.com/IvanSun/交流能优化思想?/description>zh-cnThu, 08 May 2025 15:35:44 GMTThu, 08 May 2025 15:35:44 GMT60C++实现螺旋斚w的输?/title><link>http://www.shnenglu.com/IvanSun/archive/2006/08/22/11562.html</link><dc:creator>IvanCL</dc:creator><author>IvanCL</author><pubDate>Tue, 22 Aug 2006 03:26:00 GMT</pubDate><guid>http://www.shnenglu.com/IvanSun/archive/2006/08/22/11562.html</guid><wfw:comment>http://www.shnenglu.com/IvanSun/comments/11562.html</wfw:comment><comments>http://www.shnenglu.com/IvanSun/archive/2006/08/22/11562.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/IvanSun/comments/commentRss/11562.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/IvanSun/services/trackbacks/11562.html</trackback:ping><description><![CDATA[ <p> (tng)</p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <span style="COLOR: #008080"> (tng)1</span> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">#include</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">iostream</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080"> (tng)2</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#include</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">iomanip</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080"> (tng)3</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff">using</span> <span style="COLOR: #000000"> (tng)</span> <span style="COLOR: #0000ff">namespace</span> <span style="COLOR: #000000"> (tng)std;<br /></span> <span style="COLOR: #008080"> (tng)4</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> (tng)main()<br /></span> <span style="COLOR: #008080"> (tng)5</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_70_451_Open_Image" onclick="this.style.display='none'; Codehighlighter1_70_451_Open_Text.style.display='none'; Codehighlighter1_70_451_Closed_Image.style.display='inline'; Codehighlighter1_70_451_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /> <img id="Codehighlighter1_70_451_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_70_451_Closed_Text.style.display='none'; Codehighlighter1_70_451_Open_Image.style.display='inline'; Codehighlighter1_70_451_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /> </span> <span id="Codehighlighter1_70_451_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_70_451_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080"> (tng)6</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">int</span> <span style="COLOR: #000000"> (tng)i,j,k,n;<br /></span> <span style="COLOR: #008080"> (tng)7</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">int</span> <span style="COLOR: #000000"> (tng)mat[</span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">][</span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">],value</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080"> (tng)8</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)cout</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">n= (tng)</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080"> (tng)9</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)cin</span> <span style="COLOR: #000000">>></span> <span style="COLOR: #000000">n;<br /></span> <span style="COLOR: #008080">10</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(k</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">;k</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">(n</span> <span style="COLOR: #000000">+</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">2</span> <span style="COLOR: #000000">;k</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #008080">11</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_160_350_Open_Image" onclick="this.style.display='none'; Codehighlighter1_160_350_Open_Text.style.display='none'; Codehighlighter1_160_350_Closed_Image.style.display='inline'; Codehighlighter1_160_350_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_160_350_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_160_350_Closed_Text.style.display='none'; Codehighlighter1_160_350_Open_Image.style.display='inline'; Codehighlighter1_160_350_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> (tng) (tng) (tng) (tng)</span> <span id="Codehighlighter1_160_350_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_160_350_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">12</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(i</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">k;i</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">n</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">k;i</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #008080">13</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)mat[i][k]</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">value</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">14</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(i</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">k</span> <span style="COLOR: #000000">+</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">;i</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">n</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">k;i</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #008080">15</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)mat[n</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">k</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">][i]</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">value</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">16</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(i</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">n</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">k</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">2</span> <span style="COLOR: #000000">;i</span> <span style="COLOR: #000000">>=</span> <span style="COLOR: #000000">k;i</span> <span style="COLOR: #000000">--</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #008080">17</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)mat[i][n</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">k</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">]</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">value</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">18</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(i</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">n</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">k</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">2</span> <span style="COLOR: #000000">;i</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">k;i</span> <span style="COLOR: #000000">--</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #008080">19</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)mat[k][i]</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">value</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">;<br /></span> <span style="COLOR: #008080">20</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /> (tng) (tng) (tng) (tng)}</span> </span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080">21</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)cout</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">endl;<br /></span> <span style="COLOR: #008080">22</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(i</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">;i</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">n;i</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #008080">23</span> <span style="COLOR: #000000"> <img id="Codehighlighter1_384_449_Open_Image" onclick="this.style.display='none'; Codehighlighter1_384_449_Open_Text.style.display='none'; Codehighlighter1_384_449_Closed_Image.style.display='inline'; Codehighlighter1_384_449_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_384_449_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_384_449_Closed_Text.style.display='none'; Codehighlighter1_384_449_Open_Image.style.display='inline'; Codehighlighter1_384_449_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> (tng) (tng) (tng) (tng)</span> <span id="Codehighlighter1_384_449_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_384_449_Open_Text"> <span style="COLOR: #000000">{<br /></span> <span style="COLOR: #008080">24</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(j</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">;j</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">n;j</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)<br /></span> <span style="COLOR: #008080">25</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)cout</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">setw(</span> <span style="COLOR: #000000">8</span> <span style="COLOR: #000000">)</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">mat[i][j];<br /></span> <span style="COLOR: #008080">26</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)cout</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">endl;<br /></span> <span style="COLOR: #008080">27</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /> (tng) (tng) (tng) (tng)}</span> </span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #008080">28</span> <span style="COLOR: #000000"> <img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> </div> <br /> <br />本程序在 XP SP2 (tng)QVS2005下调试通过?img src ="http://www.shnenglu.com/IvanSun/aggbug/11562.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/IvanSun/" target="_blank">IvanCL</a> 2006-08-22 11:26 <a href="http://www.shnenglu.com/IvanSun/archive/2006/08/22/11562.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【{】英特尔大战AMD 谁更胜一{?http://www.shnenglu.com/IvanSun/archive/2006/07/29/10671.htmlIvanCLIvanCLSat, 29 Jul 2006 04:24:00 GMThttp://www.shnenglu.com/IvanSun/archive/2006/07/29/10671.htmlhttp://www.shnenglu.com/IvanSun/comments/10671.htmlhttp://www.shnenglu.com/IvanSun/archive/2006/07/29/10671.html#Feedback0http://www.shnenglu.com/IvanSun/comments/commentRss/10671.htmlhttp://www.shnenglu.com/IvanSun/services/trackbacks/10671.html  64位之?谁说?jin)算?tng)
 (tng)
   从以前“真假双核”到今天?4位口水战Q英特尔与AMDg总能扑ֈPK炏V对于前不久AMD公司推出抱有很大希望?4位双核炫龙移动处理器Q英特尔亚太区性能指标l理傅{寏V中国电(sh)子报》记者讲Q?4位将?x)是一个发展方向,但是q前而言Q依然缺够的应用Q用户很难从64位技术中获得现实的利益。英特尔也有很强?4位技术,之所以没有大规模d传,主要的原因也在于此。回两q半前AMDp64位很快就要来C(jin)Q但是直到现在,用户依然没有体验到AMD所说的64位的好处。英特尔不希望去引导用户选择一个对于他们实际应用v不到直接帮助的技术,q?dng)推q的产品和技术都是希望消费者可以在应用中得到实实在在的好处?/p>

  对于q?dng)的a论,AMD则表现出不同的看法。AMD公关l理刘艳丽告诉《中国电(sh)子报》记者,虽然目前32位依然是LQ但?4位的时代马上p到来Q微?4位操作系lVista明年卛_发布Q目前支?4位的游戏也已l推Z。英特尔两年前就说AMD推出64位ؓ(f)时尚早,但是他们自己也在d推出?4位的台式机处理器Q?月他们的64位移动处理器也将?x)推出,AMD只想用事实说话?

  p者目前了(jin)解,作ؓ(f)未来发展方向?4位技术,抢先一步的AMD已经在消费者心(j)中加Z(jin)自己的品牌Ş象。但真正支持64位双核应用的除了(jin)明年上市(jng)的Vista操作pȝ外,真正?4位应用ƈ不多。所?4位双核要想真正在W记本市(jng)场普?qing)开来的话,不管是AMDq是q?dng),除?jin)自n的不断推陈出新外Q更重要的是应该站在产业铄角度Q联合更多的ISV来开发基?4位双核的应用和进行广泛的宣传Q让用户信他们有更多?4位双核的理由Q也只有q样Q厂商们推出的技术和产品才具有现实的意义。所?4位到底怎样Q还是用hl说?jin)算?/p>

  首操h利剑 是否是双刃?

  从以往(xin)的竞争看QAMD始终是h(hun)格战的始作俑者。但今年Q英特尔首先操v?jin)h(hun)格战的利器。英特尔的胦(ch)报显C,受主要竞争对手AMD在市(jng)场发起强劲挑(xi)战的冲击Q英特尔W一季度净利润下滑38%。由于处理器?jng)场份额增加以?qing)分拆持箋(hu)亏损的闪存子公司QAMDW一季度净利润?.85亿美元,扭{?jin)去q同期的亏损局面。对此,q?dng)中国区ȝ理杨旭表C,?月进行“史上最恐怖的h袭击”。其意在2006q将双核处理器推入主市(jng)场,同时夺回被AMD蚕食的市(jng)Z额?/p>

   据?zhn)Q英特尔在7?3日调低CPU售h(hun)Q部分桌面处理器产品降幅过六成。其中,L台式?sh)脑处理器P4售h(hun)首度跌破100元。据业内分析Q英特尔大Dh屠刀的原因,一是按照惯例ؓ(f)新品出台做准备,大量降h(hun)销售Pentium D 900/800pd双核处理器,以便清空库存Q二是打击AMD?/p>

  AMD公关l理刘艳丽表C,AMDq没有改变(sh)贯坚持的h{略。近期,AMD单核64位速龙处理器将降h(hun)20%-30%Q??4日,AMD双核64位速龙处理器也降?5%-50%?/p>

  虽然h战向来都是一把双刃剑Q打d手的同时也会(x)降低自己的收益。不q在产能(zhn)殊的情况下Q弱势一方很可能遭灭之灾。花旗集团的分析指出Q今q处理器行业的h(hun)格战让q?dng)公司和AMD公司的利润下?0%。该集团的分析师q指出,h战将?x)大大?jing)响英特尔公司和AMD公司今年的赢利表玎ͼ预计q?dng)公司的赢利下?0%Q大Uؓ(f)每股77分。AMD公司的赢利将下降11%Q约合每?.14元。美国另外一安U技?jng)场咨询公司Uͼq?dng)公司的h下降让AMD“很受伤害”。o(h)人忧虑的是,q?dng)在清空库存斚w采取的动作太大太明显。现在很多h持币待购Q都在等待英特尔公司的下一轮降Pq将影响到AMD公司产品的销售。但p者来看,q样频繁的降P影响的是整个?jng)场的销售,q对于英特尔和AMD都是不利的?/p>

  另外QAMD产能不的情况,自然无法作出太多的让步,以成本优势打压对手,在商道之中就是以本欺Z(jin)Q英特尔果然q是有点不厚道。AMD也知道自q弱势Q虽然技术上AMD可以从合作伙伴IBM那儿得到支援Q但产能的缺失则不是短期内可以解决的Q马上投钱d累斯Fab30/36厂扩大能、纽U州新厂计划都表明AMD知道自己的Y肋?/p>

  AMDq_化应对英特尔

  最q业界对AMD收购ATi案传M断。最q又有报道称QAMD可能吃不下整个ATiQ很可能q购其某一部门或业务。AMD企图借此取得ATi技术,跨pȝ芯片l和l图芯片技术,成ؓ(f)全方位PCq_芯片大厂Q以便进一步增Zq?dng)竞争实力。分析师指出QAMD日前闪存部门分割出去,专注于处理器?jng)场Q但AMD认ؓ(f)l图芯片和芯片组在PCq_扮演关键角色Q处理器和绘图芯片可能走向整合。AMD内部有hdQ必d展自q芯片l和l图芯片技术以U存长期竞争力。AMD在处理器?jng)场市(jng)占率逐季H破Q正处于技术优势化为市(jng)Z势的关键期,若透过购买ATi的技术跨片组Q恐怕其仿效q?dng)走q_化策略的可能性极大?/p>

   众所周知Q英特尔公司自己是一家^C应商Q其实就暗示?jin)它的处理器性能q没有太大的优势可言Q而它的芯片组与主板的设计和生产以?qing)公司本w在业界的媄(jing)响力Q相对于其竞争对手来_(d)q是很有优势的。英特尔公司把自己定位ؓ(f)一家^C应商Q等于是用自q整体优势抉|?jin)某一领域的劣ѝ所以,q?dng)公司的q_{略Q是一个既扩展?jin)它的垄断领域,又抵消?jin)某些技术劣势的好方法?/p>

  Z上述q?dng)的{略Q记者认为,AMD?jng)场份额的提高,技术的暂时领先Q远没有伤及(qing)q?dng)的{骨。因为AMD目前专注的是产品Q而英特尔专注的是应用环境和整合^収ͼq_化的战略?x)让q?dng)获取可观利润的同时Q还?sh)(x)得到长久的发展。所以从未来看,走^台化的策略会(x)加重AMD与英特尔博弈的砝码?/p>

  相关链接

  q?dng)AMD没有说出来的五项事实

  如今Q关于双核处理器的大肆宣传,以致于h们对该技术的理解g已脱M(jin)某些事实。AMD和英特尔都在|页上赞各自的双核处理器的优点。它们的宣传行动很及(qing)Ӟ因ؓ(f)多数产业观察人士都认为双核处理器在今年大行光?/p>

  但是Q在q些现象的背后,以及(qing)在众多这斚w的媒体报gQ却隐藏着一些o(h)人吃惊的非同d的事实?/p>

  事实一Q英特尔和AMD都不是第一个推出双核处理器的厂商。h们普遍以为,围绕双核处理器的竞争一直只在PC领域q行Q而且AMD和英特尔在争做第一家向?jng)场推出此类产品的厂商。这U看法是不对的。实际上QIBM走在?jin)这两家公司的前面,管IBM推出的是非X86的服务器处理器。蓝色巨人在2001q就推出?jin)双核的Power 4芯片Q用于IBM的RISC服务器之中?/p>

  即便在移动领域,IBM也是W一个向?jng)场推出双核芯片的厂商,它的PowerPC 970FX低功耗版本在2005q发布。但是,q基本是一ƾOEM产品Q不向普通买家供应?/p>

  事实二:(x)问题在于功耗。出于技术挑(xi)战,双核被强加给产业Q而业ƈ没有事先做好准备?/p>

  q?dng)和AMD采用q项技术的真正原因Q不是因为双核是一U突然出现的一U优U创意。实际上Q芯片厂商本可以不断推出速度来快的单核处理器。但是,q种做法是不可行的,因ؓ(f)随着旉速度过3GHzQ单核处理器开始消耗过多的功率?/p>

  事实三:(x)双核处理器不{于性能加倍。双怸一定会(x)使你的电(sh)脑时钟速度更快Q但它将提高?sh)的PC的整体性能?/p>

  q是一个有所不同的细微的技术特艌Ӏ如果你惌的只是原始时钟速度Q就应该C能够扑ֈ的最快的处理器。英特尔速度最快的单核盒装处理器是3.8GHz Pentium 4 model 670?.6GHz Pentium 4 model 660。而目前速度最快的双核处理器是3.2GHz Pentium D 840Q一?.6GHz双核Pentium D 960定于2006q第二季度推出?/p>

  AMD的单核、双核处理器的最高速度可以怺媲美。单核Athlon 64 3400+的速度?.4 GHz。双核Athlon 64 X2 4600+的速度也是2.4GHz。但是,?.4 GHz速度上,双核的性能昄高(sh)单核。即使两个核的运行速度都略低于2.4GHzQ双核处理器的吞吐量也要高(sh)一个速度略快的单核处理器?/p>

  但是Q也o(h)人感到奇怪的是,双核处理器的性能没有加倍?q是׃受到两个怹间共享资源的拖篏)。我们看到的情况是双核性能是单核的1.4-1.8倍,实际情况取决于具体的应用?/p>

  事实四:(x)普通用户对双核茫然不知。在所有的PC用户中,几乎有半C然对于双怸无所知。最qHarris Interactiveq行的一调查结果显C,在AMD宣布其Opteron已经q三q之后,48%的PC用户对于双核是什么东西还茫然不知。当?dng)在企业界情况是另外一U情形。h们普遍公认,数据中心(j)l理和CIO非常?jin)解双核计算能够l企业带来的能力?/p>

  在针对家庭用L(fng)调查中,42%的个人电(sh)脑拥有者表C,他们对双核有所?jin)解Q?0%的早期采用者声U非怺(jin)解双核。在q?2%的受访者中Q不是对双怸知半解还是非怺(jin)解,只有12%的h已经拥有双核pȝ?/p>

  事实五:(x)四核、八核处理器在眼前。ؓ(f)?jin)让更多的消费者了(jin)解双核处理器Q英特尔和AMD借鉴?jin)好莱坞的做法。英特尔搞了(jin)一个名为“Intel Indies Film Contest”,向它认ؓ(f)是最x(chng)字短片的创作者颁发ViiV PC讑֤。AMD的视频比赛名为“The 64 Second Film Contest”。AMD表示Q它丑֊的比赛显C,Athlon 64 X2处理器“正在把内容创作和多媒体性能带到一个新的层ơ”。虽然这两个比赛的获胜者表现都不错(q?dng)的电(sh)?jing)是讲故事Q而AMD的短片更像是hip commercial)Q但除了(jin)q些作品都可能在PC上进行过~辑以外Q它们表面上看不出来计算的痕qV双核ƈ不是最先进计算领域中的最新成。几q以后,双核可能成ؓ(f)q时产品。英特尔已在准备四核服务器处理器Q计划在2007q推出,AMD也是如此?br />



IvanCL 2006-07-29 12:24 发表评论
]]>
关于64位技?/title><link>http://www.shnenglu.com/IvanSun/archive/2006/07/29/10670.html</link><dc:creator>IvanCL</dc:creator><author>IvanCL</author><pubDate>Sat, 29 Jul 2006 04:23:00 GMT</pubDate><guid>http://www.shnenglu.com/IvanSun/archive/2006/07/29/10670.html</guid><wfw:comment>http://www.shnenglu.com/IvanSun/comments/10670.html</wfw:comment><comments>http://www.shnenglu.com/IvanSun/archive/2006/07/29/10670.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/IvanSun/comments/commentRss/10670.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/IvanSun/services/trackbacks/10670.html</trackback:ping><description><![CDATA[ <p>在计机发展史上Qhcdl了(jin)?位计到16位计、从16位计到32位计两ơ飞跃,32位计是目前服务器市(jng)场的L?<br />64位计是相对?2位计的C代高性能计算标准Q就象高速公路与山间\的区别,相比?2位计,64位提供更大的计算带宽Q从而带来更高的性能Q很多q去Ҏ(gu)无法实现的设惛_成现实。目前,全球最重要的处理器供应商包括:(x)AMD、HP、IBM、Intel、Motorola、Sun无一例外的都在推?4位计?<br /><br />什么是64位处理器Q?br /><br />8位处理器?6位处理器?2位处理器?4位处理器Q其计数都是8的倍数。它表示一个时钟周期里Q处理器处理的二q制代码数。?”和?”就是二q制代码Q线路上有电(sh)信号Q则计做1,没有?sh)信号则??位机?条线路,每个旉周期?个电(sh)信号Q组成一个字节。所以,?位处理器上升?4位处理器Q每个时钟周期传?个字节到8个字节,兌到时钟速度提高到若q个千兆赫之后,处理器处理信息的能力来大<br /><br />Z么需?4位数据运?<br /><br />目前X86l构?2位寻址时最大空间只能是4GBQ在很多大型数据库、数字内容的创徏、视频内容的创徏q有如CAD/CAM{需要将现实世界建模q算的Y仉需要大量的内存定wQ此外还有安全加密的需要则使得处理的数据成倍增ѝ在x(chng)a(b)勘探、天气预等需要大量数据运的应用环境中,更是需要^Cؓ(f)q算提供更ؓ(f)充裕的内存容量?4位^台的d能力辑ֈ?80亿GBQ这在未来很长一D|间内都可以解决高端应用中存储器寻址的瓶?br /><br /></p> <img src ="http://www.shnenglu.com/IvanSun/aggbug/10670.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/IvanSun/" target="_blank">IvanCL</a> 2006-07-29 12:23 <a href="http://www.shnenglu.com/IvanSun/archive/2006/07/29/10670.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>2006?sh)脑配置(hu)?/title><link>http://www.shnenglu.com/IvanSun/archive/2006/04/28/6417.html</link><dc:creator>IvanCL</dc:creator><author>IvanCL</author><pubDate>Fri, 28 Apr 2006 05:34:00 GMT</pubDate><guid>http://www.shnenglu.com/IvanSun/archive/2006/04/28/6417.html</guid><wfw:comment>http://www.shnenglu.com/IvanSun/comments/6417.html</wfw:comment><comments>http://www.shnenglu.com/IvanSun/archive/2006/04/28/6417.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.shnenglu.com/IvanSun/comments/commentRss/6417.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/IvanSun/services/trackbacks/6417.html</trackback:ping><description><![CDATA[ <font face="Verdana" size="1"> <font color="#000000"> <font color="#ffa500" size="3"> <font color="#000000"> (tng) (tng) (tng)</font> <font color="#808080"> <font color="#ffa500">随着软g的飞速发?在提高性能的同时对g的要求也是越来越高。下面就来简单谈一谈?br /></font> (tng) (tng) (tng) (tng)<br /></font> <font face="Courier New"> <font color="#000000"> <strong> <font style="BACKGROUND-COLOR: #ffffff">[台式?sh)脑]</font> <br /> </strong> </font> </font> <font color="#000000"> (tng) (tng) </font> <font color="#ffa500">先从台式P本来以ؓ(f)W记本的h?x)越来越qx(chng)化,但是万元以下本本的配|实在是无法接受Q所以台式机仍然是追求高性能者的廉h(hun)选择?br /><br /> (tng) (tng) (tng) (tng) (tng)CPUQIntel双核?P4 D 805/Athlon64 3200+ (tng) (tng) CPU我个为,在性能不是太低的情况,不必要买高端1500以上的品?br /> (tng)<br /> (tng) (tng) (tng) (tng) (tng)内存Q?12MB~1G (tng) (tng) (tng) (tng) 对于内存我不?56MB的。对于如今Y件的需求来?56昑־非常吃力Q如果还用集成显卡的话那有点力不从?j)?jin)?br /> (tng)<br /> (tng) (tng) (tng) (tng) (tng)昑֍QnVIDIA GeForce 7600GE (tng) (tng) (tng) (tng) 1000元左叛_可,说实话能应付大部分游戏?br /><br /> (tng) (tng) (tng) (tng) (tng)LQ用INTEL 865GV+ICH5芯片l?</font> <font face="Verdana" size="1"> <font color="#ffa500" size="3">NVIDIA Crush K8</font> <font color="#000000"> <font color="#ffa500" size="3">芯片l?q?块主杉K不错?br /><br /> (tng) (tng) (tng) (tng) (tng)盘Q够用就可?/font> </font> </font> <br /> <br /> </font> <font color="#cc0033"> <font size="3"> <font face="Courier New" color="#000000"> <strong>[W记本电(sh)脑]<br /></strong> </font> (tng) </font> <font color="#ffa500" size="3">W记本如今,虽然有许多低L(fng)产品Q但是应付(sh)些较大型?D游戏q是昄有点吃力?br />在配|选择上应当注意以下的几方面:(x) </font> <p style="TEXT-INDENT: 2em"> <font color="#ffa500" size="3">一Q内存容量:(x)׃数码产品的普?qing)以及(qing)内存?sh)h(hun)格的大幅x(chng)Q从256MB内存q渡?GB内存已经是大势所。如果我们购买的W记本是256MB内存Q那么升U?56MB?12MB是较为合理的选择。而如果笔记本自n带有512MB内存Q也应该增加?GB?/font> </p> <p style="TEXT-INDENT: 2em"> <font color="#ffa500" size="3">二,处理器选择Q?/font> </p> <p style="TEXT-INDENT: 2em"> <font color="#ffa500" size="3">对于5999元左右的低h(hun)W记本,赛扬M1.5G仍可以选择Q但赛扬M1.4G则显得跟不上潮流Q当然能增加到赛扬M1.6G更好Q不q不必强求?/font> </p> <p style="TEXT-INDENT: 2em"> <font color="#ffa500" size="3">对于8000元左右的W记本,奔腾M740是不错的选择Q即?67MHzȝ?.66GHz处理器出玎ͼ我们仍然可以首先考虑奔腾M740Q除非两者h(hun)格差距很?/font> </p> <p style="TEXT-INDENT: 2em"> <font color="#ffa500" size="3">对于10000元以上的W记本,双核是首选。如果说现在我们q没发现双核l我们带来那么直观的便利Q那么一q之后双核将遍地开花,其优势也让单核望尘莫及(qing)?/font> </p> <p style="TEXT-INDENT: 2em"> <font color="#ffa500" size="3">三,昑֍的选择。在大内存容量的前提下,选择GeForec Go 7300或者ATi 镭X1400都很不错Q虽?D速度q发烧Q但最大共享到256MB内存在未来的用处?x)越来越大。而更为经的是选择集成昑֍Q虽然其表现差强人意Q但也选择不多?/font> </p> <p style="TEXT-INDENT: 2em"> <font color="#ffa500" size="3">四,接口的选择。所有笔记本都带有USB2.0接口Q这大大减M(jin)我们的后之忧。而虽然现在没有太大用途,但拥有一个Express Card插槽Q也是不错的选择Q前提是你现在没有用PCMCIA讑֤的需求?/font> </p> <p style="TEXT-INDENT: 2em"> <font color="#ffa500" size="3">五,服务的选择。质保至要两年Q这是笔记本M价值的一部分。而且现在来明昄昄出,如果厂商Ҏ(gu)ƾ品只提供一q质保,那么它的元g成本也实打实的有所压羃。虽然我们期望它们一q以后不?x)坏Q但它们的设计和用料很可能就是按照一q出头设计的Q很多国际厂商都理所当然地认为笔记本的寿命就?5个月Q这昄不符合中国国情)(j)?br /></font> </p> </font> </font> </font> <img src ="http://www.shnenglu.com/IvanSun/aggbug/6417.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/IvanSun/" target="_blank">IvanCL</a> 2006-04-28 13:34 <a href="http://www.shnenglu.com/IvanSun/archive/2006/04/28/6417.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>〖{〗比?dng)L(fng)茨给青少q的11条忠?/title><link>http://www.shnenglu.com/IvanSun/archive/2006/04/24/6198.html</link><dc:creator>IvanCL</dc:creator><author>IvanCL</author><pubDate>Mon, 24 Apr 2006 10:41:00 GMT</pubDate><guid>http://www.shnenglu.com/IvanSun/archive/2006/04/24/6198.html</guid><wfw:comment>http://www.shnenglu.com/IvanSun/comments/6198.html</wfw:comment><comments>http://www.shnenglu.com/IvanSun/archive/2006/04/24/6198.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/IvanSun/comments/commentRss/6198.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/IvanSun/services/trackbacks/6198.html</trackback:ping><description><![CDATA[ <table class="mode_table" cellspacing="0" cellpadding="0" width="100%" border="0"> <tbody> <tr> <td class="mode_table_main" valign="top"> <span id="d1l733t" class="right"> </span> </td> </tr> <tr> <td class="mode_table_mains" id="voteDiv" style="DISPLAY: none" valign="top"> <table class="back" cellspacing="1" cellpadding="1" width="100%" align="center" border="0">[%repeat_0 match="/data/option"%] <tbody><tr title="[%=@title%] -- [%=@count%]?[[%=@percent%]Q]"><td class="blog_vote_option"><input id="option[%=@id%]" type="[%=@optionType%]" value="[%=@id%]" name="voteOption" /><label for="option[%=@id%]"><nobr style="OVERFLOW-X: hidden; TEXT-OVERFLOW: ellipsis">[%=@title%]</nobr></label></td><td><img height="9" onerror="regImg(this,"http://imgcache.qq.com/qzone/client/icon_v[%=@icon%].gif")" src="about:blank" width="[%=@percent%]" border="0" /> [%=@count%]?[[%=@percent%]Q] </td></tr>[%_repeat_0%] <tr><td class="text loginMode" align="middle" colspan="2"><br /><span id="thbh1vx" class="center"><img class="submit" id="imgButton5" onclick="vote()" alt="提交" src="http://imgcache.qq.com/qzone/client/b.gif" /></span></td></tr></tbody></table> </td> </tr> <tr> <td class="mode_table_main" id="orgPublish" style="DISPLAY: none" valign="top"> <span> </span> </td> </tr> <tr> <td class="mode_table_main" valign="top"> <div class="lj7l3h1" id="blogContent"> (tng) W?条:(x)适应生活<br />生活是不公^的,要去适应它?br />命运掌握在自己手中?br /><br /> (tng) W?条:(x)成功是你的hD?br />q世界ƈ不会(x)在意你的自尊。这世界指望你在自我感觉良好之前先要有所成就?br />成功是h生的最高境界,成功可以改变?sh)的人格和尊严,自负是愚蠢的?br /><br /> (tng) W?条:(x)别希望不劌获<br />高(sh)刚毕业的你不?x)一q挣(zhun)4万美元。你不会(x)成ؓ(f)一个公司的副总裁Qƈ拥有一部装有电(sh)话的汽RQ直C此职位和汽车电(sh)话都?zhun)到手?br />成功不会(x)自动降(f)Q成功来自积极的努力Q要分解目标Q@序渐q,坚持到底?br /><br /> (tng) W?条:(x)?fn)惯律?br />如果你认Z的老师严厉Q等你有?jin)老板再这h。老板可是没有L限制的?br />好习(fn)惯源于自我培充R?br /><br /> (tng) W?条:(x)不要忽视事<br />烙牛肉饼q不有损你的严。你的祖父母对烙牛肉饼可有不同的定义Q他们称它ؓ(f)机遇?br />q_成就大事业?br /><br /> (tng) W?条:(x)从错误中吸取教训<br />如果你陷入困境,那不是你父母的过错,所以不要尖声抱怨,要从中吸取教训?br /><br /> (tng) W?条:(x)事事需自己动手<br />在你出生之前Q你的父母ƈ非像他们现在q样乏味。他们变成今天这个样子是因ؓ(f)q些q来他们一直在Z付̎单,l你z衣服,听你大谈你是如何的酷。所以,如果你想消灭你父母那一辈中的“寄生虫”来拯救雨林的话Q还是先L除你戉K衣柜里的虫子吧?br />不要总靠别hzȝQ要凭借自q力量前进?br /><br /> (tng) W?条:(x)你往(xin)往(xin)只有一ơ机?br />你的学校也许已经不再分优{生和劣{生Q但生活却仍在做出类似区分。在某些学校已经废除不及(qing)格分Q只要你x(chng)到正答案,学校׃(x)l你无数的机?x)。这和现实生zM的Q何事情没有一点相g处?br />机遇是一U巨大的财富Q机遇往(xin)往(xin)那么一ơ,也许你“没有机?x)”,但可以创造?br /><br /> (tng) W?条:(x)旉Q在你手?br />生活不分学期Q你q没有暑假可以休息,也没有几位雇M于帮你发现自我。自己找旉做吧Q决不要把今天的事情拖到明天?br /><br /> (tng) W?0条:(x)做该做的?br />?sh)视q不是真实的生活。在现实生活中,Z实际上得d咖啡屋去q自q工作?br /><br /> (tng) W?1条:(x)善待w边的所有h<br />善待乏味的h。有可能到头来你?x)?f)一个乏味的人工作?br />善待他h是善待自己Q要用赞扬代替批评ƈd适应Ҏ(gu)?/div> </td> </tr> </tbody> </table> <img src ="http://www.shnenglu.com/IvanSun/aggbug/6198.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/IvanSun/" target="_blank">IvanCL</a> 2006-04-24 18:41 <a href="http://www.shnenglu.com/IvanSun/archive/2006/04/24/6198.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>d文g内容q输Z行,回R后下一?/title><link>http://www.shnenglu.com/IvanSun/archive/2006/04/24/6194.html</link><dc:creator>IvanCL</dc:creator><author>IvanCL</author><pubDate>Mon, 24 Apr 2006 10:06:00 GMT</pubDate><guid>http://www.shnenglu.com/IvanSun/archive/2006/04/24/6194.html</guid><wfw:comment>http://www.shnenglu.com/IvanSun/comments/6194.html</wfw:comment><comments>http://www.shnenglu.com/IvanSun/archive/2006/04/24/6194.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/IvanSun/comments/commentRss/6194.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/IvanSun/services/trackbacks/6194.html</trackback:ping><description><![CDATA[ <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">#include (tng)</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #0000ff">string</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#include (tng)</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">iostream</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#include (tng)</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">fstream</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#include (tng)</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">vector</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff">using</span> <span style="COLOR: #000000"> (tng)</span> <span style="COLOR: #0000ff">namespace</span> <span style="COLOR: #000000"> (tng)std;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><br /><img id="Codehighlighter1_108_327_Open_Image" onclick="this.style.display='none'; Codehighlighter1_108_327_Open_Text.style.display='none'; Codehighlighter1_108_327_Closed_Image.style.display='inline'; Codehighlighter1_108_327_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_108_327_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_108_327_Closed_Text.style.display='none'; Codehighlighter1_108_327_Open_Image.style.display='inline'; Codehighlighter1_108_327_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span> <span style="COLOR: #0000ff">int</span> <span style="COLOR: #000000"> (tng)main() (tng)</span> <span id="Codehighlighter1_108_327_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_108_327_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng)vector</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #0000ff">string</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> (tng)v;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng)ifstream (tng)</span> <span style="COLOR: #0000ff">in</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">J-01.cpp</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng)</span> <span style="COLOR: #0000ff">string</span> <span style="COLOR: #000000"> (tng)line;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng)</span> <span style="COLOR: #0000ff">while</span> <span style="COLOR: #000000">(getline(</span> <span style="COLOR: #0000ff">in</span> <span style="COLOR: #000000">, (tng)line))<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)v.push_back(line); (tng)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng)cout</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">v.size()</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">endl;<br /><img id="Codehighlighter1_282_325_Open_Image" onclick="this.style.display='none'; Codehighlighter1_282_325_Open_Text.style.display='none'; Codehighlighter1_282_325_Closed_Image.style.display='inline'; Codehighlighter1_282_325_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_282_325_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_282_325_Closed_Text.style.display='none'; Codehighlighter1_282_325_Open_Image.style.display='inline'; Codehighlighter1_282_325_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">(</span> <span style="COLOR: #0000ff">int</span> <span style="COLOR: #000000"> (tng)i (tng)</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> (tng)</span> <span style="COLOR: #000000">0</span> <span style="COLOR: #000000">; (tng)i (tng)</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000"> (tng)v.size(); (tng)i</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)</span> <span id="Codehighlighter1_282_325_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_282_325_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)cout</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000"> (tng)v[i] (tng);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)cin.</span> <span style="COLOR: #0000ff">get</span> <span style="COLOR: #000000">();</span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">回Rl箋(hu)</span> <span style="COLOR: #008000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /> </span> <span style="COLOR: #000000"> (tng) (tng)}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> (tng)</span> </div> <br />主要?cin.get() 实现Q回车后l箋(hu)下行昄的目的?img src ="http://www.shnenglu.com/IvanSun/aggbug/6194.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/IvanSun/" target="_blank">IvanCL</a> 2006-04-24 18:06 <a href="http://www.shnenglu.com/IvanSun/archive/2006/04/24/6194.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>求质数的实现代码http://www.shnenglu.com/IvanSun/archive/2006/04/24/6193.htmlIvanCLIvanCLMon, 24 Apr 2006 10:01:00 GMThttp://www.shnenglu.com/IvanSun/archive/2006/04/24/6193.htmlhttp://www.shnenglu.com/IvanSun/comments/6193.htmlhttp://www.shnenglu.com/IvanSun/archive/2006/04/24/6193.html#Feedback8http://www.shnenglu.com/IvanSun/comments/commentRss/6193.htmlhttp://www.shnenglu.com/IvanSun/services/trackbacks/6193.html #include (tng) < iostream >
using  (tng) namespace  (tng)std;
void  (tng)main() {
 (tng)
int  (tng)h,g = 0 ;
 (tng)cout
<< " 误入范_(d)(x) " ;
 (tng)cin
>> g;
 (tng)
for ( int  (tng)i = 2 ;i <= g;i ++ ) {
 (tng) (tng)h
= 1 ;
 (tng) (tng)
for ( int  (tng)j = 2 ;j <= i;j ++ ) {
 (tng) (tng) (tng)
if ((i % j (tng) ==  (tng) 0 ) && (j != i)) {
 (tng) (tng) (tng) (tng)h
= 0 ;
 (tng) (tng) (tng) (tng)
break ;
 (tng) (tng) (tng)}

 (tng) (tng)}

 (tng) (tng)
if (h)
 (tng) (tng)cout
<< i << endl;
 (tng)}

}

本h代码不带注释Q有需要了(jin)解者与本h联系?img src ="http://www.shnenglu.com/IvanSun/aggbug/6193.html" width = "1" height = "1" />

IvanCL 2006-04-24 18:01 发表评论
]]>
〖原创〗电(sh)脑安全Y件浅? http://www.shnenglu.com/IvanSun/archive/2006/04/24/6159.htmlIvanCLIvanCLMon, 24 Apr 2006 05:21:00 GMThttp://www.shnenglu.com/IvanSun/archive/2006/04/24/6159.htmlhttp://www.shnenglu.com/IvanSun/comments/6159.htmlhttp://www.shnenglu.com/IvanSun/archive/2006/04/24/6159.html#Feedback0http://www.shnenglu.com/IvanSun/comments/commentRss/6159.htmlhttp://www.shnenglu.com/IvanSun/services/trackbacks/6159.html (tng) (tng) (tng) (tng) (tng) (tng)病毒是什么东西?从我W一ơ因?sh)脑中毒而无法正怋用电(sh)脑的时候,我就开始对它关注了(jin)Q到现在已经十分?jin)解了(jin)。那时我?sh)脑装的是金山毒霸,当然我还见过很多朋友在用瑞星、江民之cȝ。由于我正版金山用户Q所以也׃直用着。?tng)?br /> (tng) (tng) (tng) (tng) (tng)中国的盗版技术可谓是世界一的啊,我用的操作系l是盗版的win xp sp2打了(jin)最新的补丁Q感觉正版的待遇也不q如此,对于中国的盗版技术我真是没话说了(jin)。最初我只认?jin)杀毒Y件就安全?jin),后来才知道要上网q需|络防火墙。?tng)?br /> (tng) (tng) (tng) (tng) (tng)先谈谈对金山的看法吧。金山操作界面简单、美观,在国产杀毒Y件中是首屈一指的Q对于一般很大众化的病毒勉强可以查杀清楚Q值得U赞的一Ҏ(gu)很少误报。但是对于一些比较特D的病毒却束手无{,毕竟技术上于国外知名杀毒Y件相比,q是差距很?zhn)D的?br /> (tng) (tng) (tng) (tng) (tng) (tng)记得那次眼睁睁的看着病毒发作Q杀毒Y件却毫无反应。后来只好用卡巴斯基查杀Q这是第一ơ用卡_(d)l过d扫描之后问题完全解决Q只是觉得硬盘(sh)乎受不住Q用好后把它拆怺(jin)Q决定只有到走投无\的时候再h救命。从此开始有?jin)放弃金qq切x(chng)?jin)。?tng)?br /> (tng) (tng) (tng) (tng) (tng) (tng)今天Q无意在|络上发现NOD32Q网上对它的评h(hun)直到?jin)o(h)Z用一ơ不甘心(j)的地步,听说q是微Y御用的杀毒Y件。我׃载了(jin)个破解好的用?jin)用Q觉得用h比较舒服Q能升񔞮和正版的没什么区别了(jin)。至于实际好不好Q我要用一D|间才知道Q不q绝对不卡。我想不Z么问题,我就一直用下去?jin)。?tng)?br /> (tng) (tng) (tng) (tng) (tng) 国外好的杀毒Y件还很多比如QKasperskyQ上面说q卡巴斯基)(j)、McAfee、F-SECURE{等我就不一一点名?jin)。随个h喜好选择吧,只是有一点可以确定的Q在目前为止q些国外杀毒Y件完全领先于国的Q何一ƾ杀毒YӞ而且能找到免费的用何乐而不为呢Q实在没办法付钱也值得啊。?tng)?br /> (tng) (tng) (tng) (tng) (tng) (tng)我的一些徏议:(x) (tng) (tng)
 (tng) (tng) (tng) (tng) (tng) (tng)一、当你电(sh)脑中毒了(jin)Q装的杀毒Y件无法完全处理,q卡巴斯基Q如果再不行qpȝ盘(sh)复,q(sh)行就格式化重装,如果问题q在你就准备换电(sh)脑吧Q?tng)?br /> (tng) (tng) (tng) (tng) (tng) (tng)二、给pȝ装上病毒防火墙和|络防火墙(不上|可免)(j)Q?tng)?br /> (tng) (tng) (tng) (tng) (tng) (tng)三、尽可能?qing)时l系l打补丁Q微软每月一ơ)(j)Q杀毒Y件永q保持最斎ͼ (tng) (tng)
 (tng) (tng) (tng) (tng) (tng) (tng)四、文明合理上|,不用来历不名的文gE序。?tng)?br /> (tng) (tng) (tng) (tng) (tng) (tng)pq么多,希望能给大家一些启C?
 (tng)


IvanCL 2006-04-24 13:21 发表评论
]]>
一个万q历的C++实现代码http://www.shnenglu.com/IvanSun/archive/2006/04/24/6158.htmlIvanCLIvanCLMon, 24 Apr 2006 05:16:00 GMThttp://www.shnenglu.com/IvanSun/archive/2006/04/24/6158.htmlhttp://www.shnenglu.com/IvanSun/comments/6158.htmlhttp://www.shnenglu.com/IvanSun/archive/2006/04/24/6158.html#Feedback10http://www.shnenglu.com/IvanSun/comments/commentRss/6158.htmlhttp://www.shnenglu.com/IvanSun/services/trackbacks/6158.html #include < iostream >
#include
< iomanip >
using  (tng) namespace  (tng)std;
int  (tng)FistDayofYear( int  (tng)y);
int  (tng)DaysofMonth( int  (tng)m);
void  (tng)PrintMonth( int  (tng)m);
void  (tng)PrintHead( int  (tng)m);
bool  (tng)LeapYear( int  (tng)y);
int  (tng)WeekDay,year;
void  (tng)main()
{
 (tng)I(yng)NPUT:
 (tng)cerr
<< " 误入年?>1): (tng) " ;
 (tng)cin
>> year;
 (tng)WeekDay
= FistDayofYear(year);
 (tng)cout
<< " \n\n (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) " << year << " q\n " ;
 (tng)cout
<< " ========================================================== " ;
 (tng)
for ( int  (tng)a = 1 ;a < 13 ;a ++ )
 (tng) (tng)PrintMonth(a);
 (tng)cout
<< endl;
 (tng)
int  (tng)r = 0 ,u = 0 ;
 (tng)cout
<< " l箋(hu)?Q退出打0 (tng) (tng): (tng) " ;
 (tng)cin
>> r;
 (tng)
if (r > u)
 (tng) (tng)
goto  (tng)I(yng)NPUT;
 (tng)
else
 (tng) (tng)
goto  (tng)END;
 (tng)END:;
}

void  (tng)PrintMonth( int  (tng)m)
{
 (tng)PrintHead(m);
 (tng)
int  (tng)day = DaysofMonth(m);
 (tng)
for ( int  (tng)i = 1 ;i <= day;i ++ )
 (tng)
{
 (tng) (tng)cout
<< setw( 5 ) << i;
 (tng) (tng)WeekDay
= (WeekDay + 1 ) % 7 ;
 (tng) (tng)
if (WeekDay == 0 )
 (tng) (tng)
{
 (tng) (tng) (tng)cout
<< endl;
 (tng) (tng) (tng)cout
<< setw( 5 ) << "  (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) " ;
 (tng) (tng)}

 (tng)}

}

void  (tng)PrintHead( int  (tng)m)
{
 (tng)cout
<< " \n\n " << setw( 5 ) << m;
 (tng)cout
<< " 月?tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)日?tng) (tng) (tng)一 (tng) (tng) (tng)二?tng) (tng) (tng)三?tng) (tng) (tng)四?tng) (tng) (tng)五?tng) (tng) (tng)六?tng) (tng) (tng)\n " ;
 (tng)cout
<< setw( 5 ) << "  (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) " ;
 (tng)
for ( int  (tng)i = 0 ;i < WeekDay;i ++ )
 (tng) (tng)cout
<< setw( 5 ) << "  (tng) (tng) (tng) (tng) " ;
}

int  (tng)DaysofMonth( int  (tng)m)
{
 (tng)
switch (m)
 (tng)
{
 (tng) (tng)
case  (tng) 1 :
 (tng) (tng)
case  (tng) 3 :
 (tng) (tng)
case  (tng) 5 :
 (tng) (tng)
case  (tng) 7 :
 (tng) (tng)
case  (tng) 8 :
 (tng) (tng)
case  (tng) 10 :
 (tng) (tng)
case  (tng) 12 : return  (tng) 31 ;
 (tng) (tng)
case  (tng) 4 :
 (tng) (tng)
case  (tng) 6 :
 (tng) (tng)
case  (tng) 9 :
 (tng) (tng)
case  (tng) 11 : return  (tng) 30 ;
 (tng) (tng)
case  (tng) 2 : if (LeapYear(year)) return  (tng) 29 ;
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
else  (tng) return  (tng) 28 ;
 (tng)}

 (tng)
return  (tng) 0 ;
}

bool  (tng)LeapYear( int  (tng)y)
{
 (tng)
return (y % 4 == 0 && y % 100 != 0 || y % 400 == 0 );
}

int  (tng)FistDayofYear( int  (tng)y)
{
 (tng)
long  (tng)m;
 (tng)m
= y * 365 ;
 (tng)
for ( int  (tng)i = 1 ;i < y;i ++ )
 (tng) (tng)m
+= LeapYear(i);
 (tng)
return  (tng)m %= 7 ;
}

 (tng)




IvanCL 2006-04-24 13:16 发表评论
]]>
þŮcc98cm| ƷþþþӰ| þ Ʒ| þAV| 㽶þҹɫƷС˵| ձþþҹƷ| þAëƬѹۿ| һŷƬþ| ޹Ʒþ| Ʒݾþþþø| Ĺ˾Ʒþò| ľƷþþþùַ| 99þѹƷػ| ձɫۺϾþӰԺ| AVþþƷ| þù˾Ʒ| þAVۺϺɫ | þþƷԴվ| ۺѾƷþþ| պƷþþþþ| þ㽶߿ۿè?v| ƷþþþùA| ޹˾Ʒþþùһ | þۺ97ɫ| һþöۺ | 26uuuþ| ŷۺϾþþ| ŷþ޾Ʒ| ھƷ99þ| þ99Ʒþþþ| Ʒþþþþù| ޳avƬþ| þþþþݴۺϾƷ| þèDձɫۺϾþ| ޾ƷƬþ| ľƷ99þù | 뾫Ʒþþþ | þþþþþþ66ƷƬ| þþþ99ƷƬëƬ | ˾þô߽鶹| ĻþþƷ|