<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://www.gentoo-zh.org/extern.php?action=feed&amp;tid=354&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Gentoo中文社区 / C 练习实例45]]></title>
		<link>https://www.gentoo-zh.org/viewtopic.php?id=354</link>
		<description><![CDATA[C 练习实例45 最近发表的帖子。]]></description>
		<lastBuildDate>Mon, 29 Aug 2022 11:25:20 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[C 练习实例45]]></title>
			<link>https://www.gentoo-zh.org/viewtopic.php?pid=360#p360</link>
			<description><![CDATA[<p>题目：学习使用register定义变量的方法。</p><p>程序分析：无。</p><p>程序源代码：</p><div class="codebox"><pre><code>#include &lt;stdio.h&gt;
int main()
{
    register int i;
    int tmp=0;
    for(i=1;i&lt;=100;i++)
        tmp+=i;
    printf(&quot;总和为 %d\n&quot;,tmp);
    return 0;
}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (batsom)]]></author>
			<pubDate>Mon, 29 Aug 2022 11:25:20 +0000</pubDate>
			<guid>https://www.gentoo-zh.org/viewtopic.php?pid=360#p360</guid>
		</item>
	</channel>
</rss>
