<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yarb</author_name>
  <author_url>https://blog.hatena.ne.jp/yarb/</author_url>
  <blog_title>yarbの日記</blog_title>
  <blog_url>https://yarb.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>長さがあらかじめ分かっていない配列を含む構造体でも、1度にメモリ確保できるというので（これ）、今度はスタックじゃなくてキューを作ってみた。キューはリング状にしてデキュー時のスライドという無駄な処理をなくすのが常套手段のようだけど、ひとまず効率の悪い素朴なやり方で作ってみた。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; typedef struct { int len; int index; int line[0]; } Que; int checkQue(Que *q){ if(q-&gt;len == q-&gt;index){ return -1; // full }…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyarb.hatenadiary.org%2Fentry%2F20090316%2Fp1&quot; title=&quot;キューをCで - yarbの日記&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-03-16 00:00:00</published>
  <title>キューをCで</title>
  <type>rich</type>
  <url>https://yarb.hatenadiary.org/entry/20090316/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
