<?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>標準ライブラリのqsortの使い方が少し分かったので、文字列の並べ替えもやってみた。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;time.h&gt; #define NUM 10 char str[NUM][16]; void show(void) { int i; for (i = 0; i &lt; NUM; i++) { printf(&quot;%s\n&quot;,str[i]); } } int cmp (const void *p1, const void *p2) { return strncmp((char *)p1, (char *)p2); } i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyarb.hatenadiary.org%2Fentry%2F20090517%2Fp1&quot; title=&quot;文字列の並べ替え - 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-05-17 00:00:00</published>
  <title>文字列の並べ替え</title>
  <type>rich</type>
  <url>https://yarb.hatenadiary.org/entry/20090517/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
