title: Set the Filepath Based Upon OS in C++
body: <p>I want to set the file path based upon the operating system in C++.</p>
  
  <p>I've researched ways to do this with a preprocessor call but do not know how this is going to help me in setting the file path in the program itself.</p>
  
  <p>The pseudocode is roughly as follows:</p>
  
  <p><code>
  string file_path;
  if WINDOWS_OS:
     file_path = &lt;windows file path&gt;
  else if MAC_OS:
     file_path = &lt;mac file path&gt;
  </code></p>
  
  <p>I'm hoping someone smarter than myself will be able to guide me to the best way in going about accomplishing this.  Thanks!</p>