title: Equivalence of java.util.ResourceBundle in C++
body: <p>I have a Java class that uses more lines similar to the following ones</p>
  
  <pre><code>private static final int PARAM_1 = Integer.valueOf(ResourceBundle.getBundle("solution.filtres").getString("filtre.param1.solution"));
  private static final int PARAM_2 = Integer.valueOf(ResourceBundle.getBundle("solution.filtres").getString("filtre.param2.solution"));
  </code></pre>
  
  <p>and the file <code>filtres.properties</code> found in <code>solution</code> folder contains:</p>
  
  <pre><code>filtre.param1.solution=1.5
  filtre.param2.solution=6
  </code></pre>
  
  <p>I know that <code>ResourceBundle</code> is used for user locale, but it seems that it just assigns values to static members from a specific file.</p>
  
  <p>I want to do something similar in C++. I have found <a href="http://userguide.icu-project.org/locale/resources" rel="nofollow">this</a> for C++, but it seems a little strange for what it does; so I am asking:</p>
  
  <ol>
  <li>Is it something similar to ResourceBundle in C++ (not what I have found)? If yes, what, and where can I find some examples?</li>
  <li>Do you advice me to do it in a simpler way?</li>
  </ol>
  
  <p>I would appreciate some code if anyone did some kind of this assignments.</p>