title: Change the current working directory in C++
body: <p>How can I change my current working directory in C++ in a platform-agnostic way?</p>
  
  <p>I found the <code>direct.h</code> header file, which is Windows compatible, and the <code>unistd.h</code>, which is UNIX/POSIX compatible.</p>