hi!

Is there an way of initialize a array of classes with the same object without the need to repeat them?
For exemple:

Code:
class myclass
{
   public:
   int first,second third;

  myclass(int pfirst,int psecond,int pthird) : first(pfirst),second(psecond),third(pthird)
  {
  }
};

class myotherclass
{
  public:
  myclass myclassArray[100];

  //--- As far as I know IŽd have to initialize all 100 members (with the same values I want exemple (5,7,9) 
  //--- as:

  myotherclass(): myclassArray{{5,7,9},    //   0
                               {5,7,9},    //   1
                               {5,7,9},    //   2
                                ...        //   3,4,5,... 95,96,97  
                               {5,7,9},    //   98
                               {5,7,9}}    //   99
{
}
I want a direct construction type trought an initializer list, without using a for into the boby of myotherclass constructor. Is there an easiest way of doing that?

Thank you