<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamiokandex</author_name>
  <author_url>https://blog.hatena.ne.jp/kamiokandex/</author_url>
  <blog_title>kamiokandexのブログ</blog_title>
  <blog_url>https://kamiokandex.hateblo.jp/</blog_url>
  <categories>
    <anon>第１部 先ずは基本から</anon>
  </categories>
  <description>グローバル変数と内部変数について。スコープを理解して使わないとね。フェイタルエラーが出てしまった。 C++ code - 20 lines - codepad Perlで書くとこんな感じ。 ↓ Perl code - 20 lines - codepad Perlでもスコープに関して間違えると、C++と同じようにエラーメッセージで怒られる。 関数内で変数を宣言すると、関数を呼ぶたびに変数が毎回初期化しゃれちゃうってのは、Perlを使い始めたころにハマったなぁ。懐かしい。 このコードはグローバル変数 a とローカル変数 b の挙動の違いを知るにはいいかも。 ↓ C++ code - 21 lin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamiokandex.hateblo.jp%2Fentry%2F2014%2F02%2F22%2F181034&quot; title=&quot;第９章　グローバル変数 - kamiokandexのブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-02-22 18:10:34</published>
  <title>第９章　グローバル変数</title>
  <type>rich</type>
  <url>https://kamiokandex.hateblo.jp/entry/2014/02/22/181034</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
