title: How can I create directory tree in C++/Linux?
body: <p>I want an easy way to create multiple directories in C++/Linux. </p>
  
  <p>For example I want to save a file lola.file in the directory: </p>
  
  <pre><code>/tmp/a/b/c
  </code></pre>
  
  <p>but if the directories are not there I want them to be created automagically. A working example would be perfect.</p>