Lists? Or equivalent

I'm trying to make an array of colours but unfortunatly Tinker library doesnt seem to support Arrays:

    Tinker::Vect3d<float> rndCol[5];
    
    rndCol[0] = {255,0,0};
    rndCol[1] = {0,255,0};
    rndCol[2] = {0,0,255};
    rndCol[3] = {255,165,0};
    rndCol[4] = {5,125,200};

(edit: Just realized this would be a multidimensional array if it worked, Is this supported in C++, "rndCol[0][0] = 255;" did not work)

    soundLvel:47: error: expected constructor, destructor, or type conversion before '=' token
    soundLvel:48: error: expected constructor, destructor, or type conversion before '=' token
    soundLvel:49: error: expected constructor, destructor, or type conversion before '=' token
    soundLvel:50: error: expected constructor, destructor, or type conversion before '=' token
    soundLvel:51: error: expected constructor, destructor, or type conversion before '=' token

So does Arduino support lists or equivalent I can store these in. I cant find anything in the reference.

You can't assign like that in C++. Try:

 Tinker::Vect3d<float> rndCol[5] =
  {
    
   {255,0,0},
   {0,255,0},
   {0,0,255},
   {255,165,0},
   {5,125,200},

  };

Comes back with:

error: braces around scalar initializer for type 'Tinker::Vect3d<float>'

Edit, Replacing the "{" with "(" seemed to fix that error.

That doesn't sound right. Can you give a link to this library please?

Judging by one of the examples:

Tinker::Vect3d<float> f3(123,456,789);

You need the f3 there. So it could be more like:

 Tinker::Vect3d<float> rndCol[5] =
  {
    
  f3 (255,0,0),
  f3 (0,255,0),
  f3 (0,0,255),
  f3 (255,165,0),
  f3 (5,125,200),

  };