title: check if file exists with wildcards in filename
body: <p>What i Need for c++:</p>
  
  <pre><code>if( fileExists("c:\foo\bar*.txt") ){
    cout &lt;&lt; "file exists";
  }else{
    cout &lt;&lt; "file does not exists";
  }
  </code></pre>
  
  <p>Its nearly the same as descripted here: <a href="https://stackoverflow.com/questions/8752034/how-to-check-a-file-if-exists-with-wildcard-in-java">How to check a file if exists with wildcard in Java?</a> , but for c++</p>