Hello! I was wondering, since you can initialize an array of let's say integers with the following statement:

Code:
int a[3] = {1, 2, 3};
how would you go about initializing an array of objects of a given class CTest, using a self-defined constructor, e.g. CTest(int, int)?

First thing that crossed my mind was this (and feel free to laugh as much as you like at my ignorance ):

Code:
CTest a[3] = {(1, 2), (3, 4), (5, 6)};
but, as most of you may have guessed, it didn't work.

So, is there a way to achieve this?

Thanks!