title: Creating a simple configuration file and parser in C++
body: <p>I am trying to create a simple configuration file that looks like this</p>
  
  <pre><code>url = http://mysite.com
  file = main.exe
  true = 0
  </code></pre>
  
  <p>when the program runs, I would like it to load the configuration settings into the programs variables listed below.</p>
  
  <pre><code>string url, file;
  bool true_false;
  </code></pre>
  
  <p>I have done some research and <a href="http://www.daniweb.com/software-development/cpp/threads/185995" rel="noreferrer">this</a> link seemed to help (nucleon's post) but I can't seem to get it to work and it is too complicated to understand on my part. Is there a simple way of doing this? I can load the file using <code>ifstream</code> but that is as far as I can get on my own. Thanks!</p>