title: How to use sections in a boost program options config file
body: <p>This is obviously a fairly simple question, as no one else has had this issue such as this with the library.</p>
  
  <p>When I run my program however, boost returns the error "Unrecognised Option Settings.Directoy" However I have defined this in my code and the file I've asked it to read from. Firstly here's my code, short because I did it as a test.</p>
  
  <pre><code>std::string Directory;
  
  try {
      ifstream Config_File("Config.ini");
      options_description Game("Settings");
      Game.add_options()
          ("Directory", value&lt;std::string&gt;(&amp;Directory)-&gt;default_value("Example.exe"));
  
      variables_map vm;
      store(parse_config_file(Config_File, Game), vm);
      notify(vm);
  
      if (vm.count("Directory"))
      {
          cout &lt;&lt; Directory;
      }
  }
  catch(std::exception&amp; E)
  {
      std::cout &lt;&lt; E.what() &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>Here is the file it read from "Config.ini"</p>
  
  <pre><code>[Settings]
  Directory = "Example.exe"
  </code></pre>
  
  <p>I have tried debugging this, by changing the file type, name... removing the spaces? </p>
  
  <p>Adding and removing quotation marks to the entry in Directory? Multiple things, which have given me no solution.</p>