skip to Main Content

Ubuntu – Use boost::filesystem with std::ifstream?

I'm using Ubuntu 20.04 LTS with C++ 20 and boost 1.71.0. The following compiles without error and outputs the sample file content: #include <iostream> #include <string> #include <boost/filesystem.hpp> #include <filesystem> int main() { boost::filesystem::path output_dir = boost::filesystem::path("/out/"); boost::filesystem::path sample_file =…

VIEW QUESTION
Back To Top
Search