<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kenmo</author_name>
  <author_url>https://blog.hatena.ne.jp/kenmo/</author_url>
  <blog_title>ゲームプログラムめも日記</blog_title>
  <blog_url>https://kenmo.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>今更ながらC++でのクラスの使い方が分かったので、メモメモ。 virtual 関数名 = 0; とすると純粋仮想関数となり、そのクラスでは実装する必要がない。 純粋仮想関数を持つクラスは抽象クラスとなり、インスタンスを行うことができない。 基底クラスで関数にvirtualを付けると、派生クラスで同じ名前の関数を作るとオーバーライドする。（virtualを付けない場合は、オーバーライドしない） 派生クラスで親クラスのメンバ関数を呼ぶ場合は、親クラス::関数名で呼び出す。 …親クラスはsuperじゃないのね…、、。 じゃあ、C++のsuperってなんに使うのだろうか、、？ 不思議。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenmo.hatenadiary.org%2Fentry%2F20050405%2Fp2&quot; title=&quot;クラス - ゲームプログラムめも日記&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>2005-04-05 00:00:01</published>
  <title>クラス</title>
  <type>rich</type>
  <url>https://kenmo.hatenadiary.org/entry/20050405/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
