<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eel3</author_name>
  <author_url>https://blog.hatena.ne.jp/eel3/</author_url>
  <blog_title>新・日々録 by TRASH BOX@Eel</blog_title>
  <blog_url>https://eel3.hatenablog.com/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>プログラミング</anon>
    <anon>C++</anon>
  </categories>
  <description>C++をあまり深入りせずにBetter Cとして使うとこうなる。 事前準備：文法面の細かな差異を押さえる 細かいところにC言語とC++の非互換な部分があるので、それを押さえておく。例えば： 標準ライブラリのヘッダファイル名 例えばassert.hではなくcassert。まあassert.hでもいける処理系も多いのだが……。 構造体内で定義した構造体・列挙型等のスコープ struct Foo内で定義したstruct Barは、Foo::Barとなる。 C言語では、この手のスコープは存在しないので……。 関数の宣言・定義にvoidを書く／書かないの問題。 引数をとらない関数の仮引数にvoidを書く…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feel3.hatenablog.com%2Fentry%2F2022%2F02%2F27%2F203157&quot; title=&quot;Better C的なC++の使い方 - 新・日々録 by TRASH BOX@Eel&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>2022-02-27 20:31:57</published>
  <title>Better C的なC++の使い方</title>
  <type>rich</type>
  <url>https://eel3.hatenablog.com/entry/2022/02/27/203157</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
