<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>よく忘れて本を見るのでメモ typedef struct { int c; int d; } hoge_t; typedef struct { int a; int b; hoge_t hoge; } piyo_t; 入れ子の構造体を用意 初期値を順番に書く方法 piyo_t p1 = { 1,2,{3,4} }; // 普通な書き方 piyo_t p2 = { 1,2, 3,4 }; // 順番さえあってればどうでもいい piyo_t p3 = { 1,2, }; // 途中までしかないときは、残りはゼロになる 最後のカンマは無視されるので、付けっぱなしの方が楽 変数名を指定する方法 // …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20090424%2Fstruct&quot; title=&quot;C言語で構造体を初期化する方法 - 揮発性のメモ２&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>2009-04-24 00:00:00</published>
  <title>C言語で構造体を初期化する方法</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20090424/struct</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
