<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takehikom</author_name>
  <author_url>https://blog.hatena.ne.jp/takehikom/</author_url>
  <blog_title>わさっきhb</blog_title>
  <blog_url>https://takehikom.hateblo.jp/</blog_url>
  <categories>
    <anon>情報教育</anon>
    <anon>C</anon>
  </categories>
  <description>一昨日の自主演習で，終わりかけに，学生から質問を受けました． scanfを使って1個，数値を読み取って，ある計算をして出力するプログラムなのですが，「数値[Enter]」では結果が出ないというもの． いくつかの入力を試して，次のことがわかりました． 「数値[Enter]数値[Enter]」とすれば処理してくれました．でも2回目の数値は無視されますThe latter number is ignored． 「数値[Enter][Ctrl-D]」はすぐ処理してくれました． 「数値\[Enter]」のように，数値でない文字を入れても，すぐ処理してくれました． 今朝ふと思い出して，なんでこんな事態にな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakehikom.hateblo.jp%2Fentry%2F20070426%2F1177534156&quot; title=&quot; scanfの不振な挙動 - わさっきhb&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>2007-04-26 05:49:16</published>
  <title> scanfの不振な挙動</title>
  <type>rich</type>
  <url>https://takehikom.hateblo.jp/entry/20070426/1177534156</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
