title: How to read from an .ini file?
body: <p>I have created a basic <code>.ini</code> file called <code>configuration.ini</code>. This file looks as follows:</p>
  
  <pre class="lang-none prettyprint-override"><code>[Application]
  no_of_applications= 4;
  
  [states]
  
  title = "Config File States available";
  name = 'Active, Deactivated, Hot';
  
  [reaction]
  reac_type = ["switch_schedule", "activate_app", "disable_app";
  </code></pre>
  
  <p>Now I intend to read this .ini file from my C program. I have included the <code>#include &lt;configuration.ini&gt;</code> line in my C program. I just want to read the title from the section 'states' in the C program i.e</p>
  
  <pre class="lang-c prettyprint-override"><code>#include&lt;stdio.h&gt;
  #include&lt;configuration.ini&gt;
  
  int main()
  {
      //read the variable 'title' from 'states' and print it
      return 0;
  }
  </code></pre>
  
  <p>Can somebody tell me how can I do that?</p>