title: Accessing files made with mktemp for Linux through C++
body: <p>I am trying to create a temporary file on a Linux system, but interfacing through C++ (so that the Linux commands are run through the C++ program). </p>
  
  <p>To do so, I am using mktemp, which produces a temporary file. 
  I would need to later refer back to this file.
  However, the filename is randomly generated and I am wondering if there is an easy way to access the filename. </p>