<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>クラスを継承する場合は次のように記述する。 class 派生クラス名 : アクセス 基本クラス名 { ... } アクセスはpublic, private, protectedのいずれか。 これは初めて知った。いままでいつもpublicで書いていて他のが指定できるとは思っていなかった。 privateで継承すると基本クラスでpublicであっても発生クラスではprivateとなり外からアクセスできなくなる。 #include &lt;iostream&gt; using namespace std; class base { public: void func() {} }; class Test0 : …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20081215%2F1229354294&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>2008-12-15 00:18:14</published>
  <title>継承</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20081215/1229354294</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
