title: Parse config file in C/C++
body: <p>I'm a newbie looking for a fast and easy way to parse a text file in C or C++ (wxWidgets)</p>
  
  <p>The file will look something like this (A main category with "sub-objects") which will appear in a list box</p>
  
  <pre><code>[CategoryA]
  
  [SubCat]
  
      Str1 = Test 
  
      Str2 = Description  
  
  [SubCat] [End]
  
  [SubCat]
  
      Str1 = Othertest
  ...
  
  [CategoryA] [End]
  </code></pre>
  
  <p>Any suggestions?</p>