2010-03-30から1日間の記事一覧

Boost.Iostreams ファイルが開けてないのに開けたことになる

C++

【Iostreams】 How to check whether file has ben opened? ほんとだ・・・。(VC++8.0 + Boost 1.41.0/1.42.0) #include <iostream> #include <string> #include <boost/iostreams/stream.hpp> #include <boost/iostreams/device/file.hpp> int main() { const std::string filename("test"); boost::iostreams::stream</boost/iostreams/device/file.hpp></boost/iostreams/stream.hpp></string></iostream>

Boost.Log最新版のダウンロード先

C++

http://sourceforge.net/projects/boost-log/