title: C++: Objects created via array, but how to pass parameters?
body: <p>It would be great if you could help me here: I create objects as an array</p>
  
  <pre><code>Class object[3];
  </code></pre>
  
  <p>but I don't know how to pass parameters by creating objects this way. If only one object would be created, the code would look like this:</p>
  
  <pre><code>Class object("Text", val);
  </code></pre>
  
  <p>The rest is managed by the constructor. Thanks in advance for your ideas!</p>