<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s51517765</author_name>
  <author_url>https://blog.hatena.ne.jp/s51517765/</author_url>
  <blog_title>プログラミング素人のはてなブログ</blog_title>
  <blog_url>https://s51517765.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C/C++</anon>
  </categories>
  <description>わたしの知らなかった#defineの世界 C言語の#defineはプログラマーが定義した文字列を他の文字列（や数値、式等）に置き換えるものです。 その活用方法は主に、以下があります。 ・マジックナンバーの防止 ・関数定義 ・多重インクルード防止 ・条件付きコンパイル マジックナンバーの防止 まず、一番基本的な使い方がこれになります。 #include &lt;stdio.h&gt; #define MAX_VALUE 100 #define ARRAY_SIZE 10 int main() { int numbers[ARRAY_SIZE]; for (int i = 0; i &lt; ARRAY_SIZE;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fs51517765.hatenadiary.jp%2Fentry%2F2023%2F07%2F10%2F073000&quot; title=&quot;わたしの知らなかった#defineの世界 - プログラミング素人のはてなブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/s51517765/20230701/20230701183141.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-07-10 07:30:00</published>
  <title>わたしの知らなかった#defineの世界</title>
  <type>rich</type>
  <url>https://s51517765.hatenadiary.jp/entry/2023/07/10/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
