<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>IT初心者によるメモ帳</title>
<link>https://ameblo.jp/study-infotech/</link>
<atom:link href="https://rssblog.ameba.jp/study-infotech/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>研究・勉強していく中でのメモ。</description>
<language>ja</language>
<item>
<title>[メモ]#ifdef文</title>
<description>
<![CDATA[ <pre><font color="#000066">#define DEBUG<br>...<br>#ifdef DEBUG<br>   cout &lt;&lt;" test ";<br>#endif</font><br><br>DEBUGというマクロが定義されていたら、<br><code>#ifdef</code>と<code>#endifの間が有効となる。<br>◆使用例<br>プログラムの動作検証中に、変数などの状態を見るため。<br>完成したらそれを削除すれば済む。<br><br><br></code><font color="#000066"><code>#ifndef</code> INCLUDE<br>   #define INCLUDE<br>   ...<br>#endif</font><br><br>INCLUDEというマクロが定義されていなかったら、<br><code>#ifdef</code>と<code>#endifの間が有効となる。<br>◆使用例<br>includeファイルを二重に取り込まないように。<br></code></pre>
]]>
</description>
<link>https://ameblo.jp/study-infotech/entry-11566218455.html</link>
<pubDate>Thu, 04 Jul 2013 13:36:55 +0900</pubDate>
</item>
</channel>
</rss>
