<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>ひとつのコンパイル単位で同じヘッダファイルを２度 #include しないようにする へのコメント</title>
	<atom:link href="http://www.game-create.com/archives/413/feed" rel="self" type="application/rss+xml" />
	<link>http://www.game-create.com/archives/413</link>
	<description>文系の人でも、数理学がわからない人でもゲームプログラミングをマスターできるブログ</description>
	<lastBuildDate>Sun, 06 Jun 2010 06:07:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Byerkut より</title>
		<link>http://www.game-create.com/archives/413/comment-page-1#comment-7422</link>
		<dc:creator>Byerkut</dc:creator>
		<pubDate>Sun, 06 Jul 2008 12:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.game-create.com/?p=413#comment-7422</guid>
		<description>＞たつにいさん

#pragma one の方が可読性は高いと思いますよ。
ただ、 #ifndef #define #endif はすでにイディオムとなってしまっているので、
なかなか牙城を崩すのが難しいです。
誰かカリスマプログラマが「やめよう！」って言ってくれれば良いかもです。</description>
		<content:encoded><![CDATA[<p>＞たつにいさん</p>
<p>#pragma one の方が可読性は高いと思いますよ。<br />
ただ、 #ifndef #define #endif はすでにイディオムとなってしまっているので、<br />
なかなか牙城を崩すのが難しいです。<br />
誰かカリスマプログラマが「やめよう！」って言ってくれれば良いかもです。</p>
]]></content:encoded>
	</item>
	<item>
		<title>たつにい より</title>
		<link>http://www.game-create.com/archives/413/comment-page-1#comment-7420</link>
		<dc:creator>たつにい</dc:creator>
		<pubDate>Sat, 05 Jul 2008 08:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.game-create.com/?p=413#comment-7420</guid>
		<description>懐かしい方法です。

専門学校時代に現役ゲームプログラマー講師に教わった方法ですが僕は使っていません（爆）

ちなみに僕は「#pragma once」で多重定義防止しています。

ヘッダファイルの一番最初にこの一行を差し込むだけで多重定義防止が可能となります。

でも、やり方は人それぞれですし、「#ifndef #define #endif」を覚える上では上記の方法も捨てがたいですね。

「#pragma once」は応用がききませんが「#ifndef #define #endif」は応用できますからね。

失礼しました～</description>
		<content:encoded><![CDATA[<p>懐かしい方法です。</p>
<p>専門学校時代に現役ゲームプログラマー講師に教わった方法ですが僕は使っていません（爆）</p>
<p>ちなみに僕は「#pragma once」で多重定義防止しています。</p>
<p>ヘッダファイルの一番最初にこの一行を差し込むだけで多重定義防止が可能となります。</p>
<p>でも、やり方は人それぞれですし、「#ifndef #define #endif」を覚える上では上記の方法も捨てがたいですね。</p>
<p>「#pragma once」は応用がききませんが「#ifndef #define #endif」は応用できますからね。</p>
<p>失礼しました～</p>
]]></content:encoded>
	</item>
</channel>
</rss>
