title: Vector of Sets in C++
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5599642/how-to-do-the-vector-of-sets-in-c">How to do the vector of sets in C++?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to have a set for the different levels that are in my code. A set at each level will be holding integer values. The number of these sets should be dynamic depending on the number of levels required ( which is given as input ).</p>
  
  <p>For this, I wanted to have a dynamic set structure. How can I achieve this? Can I go for a vector with as many pointers to the sets as required? How do I achieve this? Is there any other method.</p>
  
  <p>Can somebody give me a snippet for it?</p>