<?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>C言語</anon>
  </categories>
  <description>しばらく前にscanfが忌避される理由についての記事で、「fscanfとsscanfは使い方や場面を間違わなければ十分に使える」と書いた。ところで私がテキストデータを解析して処理するソフトをC言語で書く場合を考えると、基本的に読み込み処理と解析処理は自作するか便利な外部ライブラリを使うのだが、手抜きする場合だとfgets + sscanfを使う。fscanfは使ったことがない。これは何故だろうか？ ちょっと考えてみて、どうも私の書くソフトの構造が原因ではないかと気づいた。私が書くfgets + sscanfを使うようなソフトは、基本的に個人的に使うツールだ。これらのツールは大抵の場合Unix由…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feel3.hatenablog.com%2Fentry%2F20080810%2F1228919543&quot; title=&quot;私がfscanfよりも「fgets + sscanf」の組み合わせを選択する理由についての考察  - 新・日々録 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>2008-08-10 23:32:23</published>
  <title>私がfscanfよりも「fgets + sscanf」の組み合わせを選択する理由についての考察 </title>
  <type>rich</type>
  <url>https://eel3.hatenablog.com/entry/20080810/1228919543</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
