<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mahou_ptr</author_name>
  <author_url>https://blog.hatena.ne.jp/mahou_ptr/</author_url>
  <blog_title>ゲーム作りは楽しい</blog_title>
  <blog_url>https://mahou-ptr.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>ネタ</anon>
  </categories>
  <description>本日のギャグです。 こちらのコードを見てください。 #include &lt;cctype&gt; #include &lt;iostream&gt; int main() { using namespace std; int32_t x = 0; if (x = x + 1) std::cout &lt;&lt; &quot;true&quot;; } C++で以下のコードを実行したら「true」と出力されたので、 「x = x + 1」はtrueになります。 したがって、x = 0より「0 = 1」である。 ... これは間違いですよね、、 C++で等値判定は「==」にしないといけないので正しくは以下のようにしないと判定できません。 - if …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmahou-ptr.hatenablog.com%2Fentry%2F2023%2F11%2F08%2F194442&quot; title=&quot;0=1の証明 - ゲーム作りは楽しい&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/m/mahou_ptr/20231108/20231108194247.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-08 19:44:42</published>
  <title>0=1の証明</title>
  <type>rich</type>
  <url>https://mahou-ptr.hatenablog.com/entry/2023/11/08/194442</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
