title: Unable to use <filesystem> functions
body: <p>I am writing a small win32 app and there is a part I am to use the functions from <strong>filesystems</strong>. Having read this from <a href="https://docs.microsoft.com/en-us/cpp/standard-library/filesystem-functions?view=vs-2019#remove_all" rel="nofollow noreferrer">official documentation</a> and relevant examples on the same I just can't seem to get this particular piece of code compiling. </p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;cstdint&gt;
  #include &lt;filesystem&gt;
  
  namespace fs = std::filesystem;
  
  int main()
  {
      fs::path dir = fs::temp_directory_path();
      fs::create_directories(dir / "abcdef/example");
      std::uintmax_t n = fs::remove_all(dir / "abcdef");
      std::cout &lt;&lt; "Deleted " &lt;&lt; n &lt;&lt; " files or directories\n";
  }
  </code></pre>
  
  <p>I keep getting the following errors all at ago:</p>
  
  <blockquote>
    <ol>
    <li><p>namespace "std" has no member "filesystem"</p></li>
    <li><p>identifier "remove_all" is undefined </p></li>
    <li><p>'filesystem': is not a class or namespace name</p></li>
    <li><p>'remove_all': identifier not found</p></li>
    </ol>
  </blockquote>
  
  <p>My tools are:</p>
  
  <ol>
  <li>C++ language version: ISO C++14 Standard (std:c++14)</li>
  <li>Platform Toolset: Visual Studio 2019 (v142)</li>
  <li>Windows SDK: 10.0.18362.0</li>
  </ol>
  
  <p>I would appreciate any hints on how to solve this problems are related problems</p>