title: How do I store C++ variables in an INI, CFG, or XML file?
body: <p>My script.cpp file contains the following lines:</p>
  
  <pre><code>bool mod_enabled = true;        //Enable/Disable
  BYTE display_delay = 15;        //Redisplay delay
  </code></pre>
  
  <p>Ideally, the values for mod_enabled and display_delay should be pulled from an external configuration file which the user can edit. (The code itself is being compiled into an GTAV ASI plugin, which runs at the start of the game.)</p>
  
  <p>I have no need for saving or changing these values mid-game. What is the simplest solution?</p>