I know this question has been asked before but I still haven\'t seen a satisfactory answer, or a definitive \"no, this cannot be done\", so I\'ll ask again!
All I wa
As of C++17:
Make sure you include std filesystem.
#include
and now you can do this.
std::filesystem::current_path().string()
boost filesystem became part of the standard lib.
if you can't find it try to look under:
std::experimental::filesystem