2011-06-20 std::istreamからstd::stringへの変換 C++ istreambuf_iterator使えば簡単。 追記: 上の記事と比較してC++だけsyntax highlightついてなくて不憫だったのでリネームした