title: C++ Copy directory recursive under unix
body: <p>There are no any examples of the functions ready for use on <code>c++ without additional libs</code> to Copy recursive files and folders to the new location. </p>
  
  <p>Some alternative to <code>system("cp -R -f dir");</code> call. </p>
  
  <p>I'm only found this <a href="https://stackoverflow.com/questions/15177378/recursive-directory-copying-in-c">Recursive directory copying in C</a> example on the thread answer, but its not ready for use and I'm not sure that this example is correct to start with.</p>
  
  <p>Maybe somebody have working example on the disk?</p>