{"blog_url":"https://ntnek.hatenadiary.org/","height":"190","description":"\u3042\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001ifstream\u3068istringstream\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3002\u3067\u3001\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092g++\u3068VC++(.NET2003)\u3067\u30d3\u30eb\u30c9\u3057\u3066\u4f7f\u3063\u3066\u3044\u308b\u3002\u305d\u3053\u306b\u3042\u308b\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u98df\u3079\u3055\u305b\u305f\u3068\u3053\u308d\u3001istringstream + VC++\u306e\u5834\u5408\u306e\u307f\u4e0d\u90fd\u5408\u304c\u8d77\u304d\u305f\u3002ios::eof()\u304c\u62fe\u3048\u306a\u3044\u306e\u3060\u3002 while (! ins.eof()) { ... ins.read(buf, size); if (ins.eof()) break; ... } \u306e\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u5f53\u7136\u306e\u3088\u3046\u306b\u7121\u9650\u30eb\u30fc\u30d7\u306b\u9665\u3063\u305f\u3002 \u306f\u3066\u3002 \u4f8b\u3048\u3070\u3001\u3053\u3046\u66f8\u3051\u3070\u3001\u7121\u9650\u30eb\u30fc\u30d7\u306b\u306f\u6210\u3089\u306a\u3044\uff1a while (ins) { ... i\u2026","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","width":"100%","author_name":"ntnek","blog_title":"ntnek\u306e\u65e5\u8a18","image_url":null,"url":"https://ntnek.hatenadiary.org/entry/20050824/p1","version":"1.0","title":" iostate\u3068iostream\u306e\u30a8\u30e9\u30fc\u51e6\u7406","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fntnek.hatenadiary.org%2Fentry%2F20050824%2Fp1\" title=\" iostate\u3068iostream\u306e\u30a8\u30e9\u30fc\u51e6\u7406 - ntnek\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","published":"2005-08-24 00:00:00","author_url":"https://blog.hatena.ne.jp/ntnek/","categories":["C++"]}