title: How to get the fully qualified path name in C++
body: <p>Is there a function that returns the fully qualified path name for any inputted file?  </p>
  
  <p>I'm thinking of something like:</p>
  
  <pre><code>LPCSTR path = "foo.bar"
  LPCSTR fullPath = FullyQualifiedPath(path);
  //fullPath now equals C:\path\to\foo.bar
  </code></pre>
  
  <p>Thanks</p>