#include"stdafx.h"#include<string>#include<iostream>#include<experimental/filesystem>#include<fstream>#include"boost/filesystem.hpp"namespacefs=std::experimental::filesystem;//for visual studiointmain(){fs::pathpath="C:/Users/PC/Downloads";//Pathfor(auto&p:fs::recursive_directory_iterator(path)){//looking for all files in directory/subdirectoryfs::pathnew_path=p.path();new_path.replace_extension(".data");fs::rename(p.path(),new_path);}return0;}
Boost Path: C:\boost_1_65_1
I'm using Visual Studio 2017 (v141) on Windows 10 64Bit
Visual Studio 2017 Settings:
Output:
Last edit: cascraft 2017-09-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I cant run a simple code with boost.
Error:

C++ Code:
Boost Path: C:\boost_1_65_1
I'm using Visual Studio 2017 (v141) on Windows 10 64Bit
Visual Studio 2017 Settings:



Output:

Last edit: cascraft 2017-09-16