{"provider_name":"Hatena Blog","type":"rich","published":"2004-10-17 00:00:00","image_url":null,"author_url":"https://blog.hatena.ne.jp/Cryolite/","version":"1.0","url":"https://blog.cryolite.net/entry/20041017/p1","height":"190","blog_url":"https://blog.cryolite.net/","width":"100%","blog_title":"Cry's Blog","categories":["C++"],"provider_url":"https://hatena.blog","description":"\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3 \u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u90e8\u5206\u3092\u5225\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30d4\u30fc\u3059\u308b\u7c21\u6f54\u306a\u624b\u6bb5\u304c\u6b32\u3057\u3044\uff0e \u554f\u984c\u8a2d\u5b9a // \"in.dat\"\u306e[first, last)\u3092\"out.dat\"\u3078\u30b3\u30d4\u30fc\u3057\u305f\u3044\uff0e\uff08first, last\u306f\u5148\u982d\u304b\u3089\u306eoffset\uff09 size_t first, last; ifstream ifs(\"in.dat\", ios::in | ios::binary); ofstream ofs(\"out.dat\", ios::out | ios::trunc | ios::binary); ..... ifs.seekg(first); size_t sz = last - first; // \u3053\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.cryolite.net%2Fentry%2F20041017%2Fp1\" title=\"\u30d0\u30a4\u30ca\u30ea\u306e\u4e00\u90e8\u5206\u3092\u30b3\u30d4\u30fc - Cry&#39;s Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"Cryolite","title":"\u30d0\u30a4\u30ca\u30ea\u306e\u4e00\u90e8\u5206\u3092\u30b3\u30d4\u30fc"}