title: Output file to specific folder C++ Windows 7
body: <p>I am using C++ and trying to output a file to a specific place, a folder with a specified name in the same directory as the executable. Couldn't find a great resource on an easy way to do this but I know it must be possible.</p>
  
  <p>My example. I am saving a log file and instead of having it save to the same directory as the executable, it saves to /logs/</p>
  
  <p>Thank you for your time!</p>
  
  <p>Edit: I used mkdir to create a folder but how do I output to that folder. Is mkdir even a good thing to be using? I want to learn the best way to do this, not necessarily the easiest.</p>