<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shammer</author_name>
  <author_url>https://blog.hatena.ne.jp/shammer/</author_url>
  <blog_title>Shammer's Philosophy</blog_title>
  <blog_url>https://shammerism.hatenadiary.com/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>引数を文字列にする実装として、引数の文字列を数値に変換する - Shammerismというのを書いてみたけれども、この実装だと数値以外が渡されても０として扱っていたので、文字列が数値かどうか判定する - Shammerismの実装を利用して書きなおした。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;string.h&gt; #include &lt;ctype.h&gt; int checknumber(char *v){ int len = strlen(v); int i; int result = 1; for(i = 0; i &lt; len &amp;&amp; re…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshammerism.hatenadiary.com%2Fentry%2F20090628%2F1390056081&quot; title=&quot;引数文字列変換改良版 - Shammer&amp;#39;s Philosophy&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-06-28 23:41:21</published>
  <title>引数文字列変換改良版</title>
  <type>rich</type>
  <url>https://shammerism.hatenadiary.com/entry/20090628/1390056081</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
