{"image_url":null,"height":"190","url":"https://toburau.hatenablog.jp/entry/20090301/1235916923","version":"1.0","author_url":"https://blog.hatena.ne.jp/toburau/","provider_name":"Hatena Blog","categories":["C++"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20090301%2F1235916923\" title=\"\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u306e\u51fa\u529b - \u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\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>","provider_url":"https://hatena.blog","type":"rich","description":"\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u51fa\u529b\u3059\u308b\u306b\u306f\u3001ofstream\u3092\u4f7f\u3048\u3070\u3088\u3044\u3002\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u7b2c2\u5f15\u6570\u306bifstream::binary\u3092\u4ed8\u3051\u3066\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u3001write()\u3092\u4f7f\u3046\u3002 \u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u6b21\u306e\u901a\u308a\u3002 #include <iostream> #include <fstream> using namespace std; bool writeFile( const char* name, const char* buff, int size) { ofstream outputFile(name, ifstream::binary); if( !outputFile.is_open() ) retur\u2026","blog_url":"https://toburau.hatenablog.jp/","width":"100%","published":"2009-03-01 23:15:23","blog_title":"\u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18","title":"\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u306e\u51fa\u529b","author_name":"toburau"}