0

Help.... I have 3 vectors I want to store in 1 array, but I can't figure out what I'm doing wrong

```
vector<double> range, az, el;
double RAzEl[1000][3] = {};
for ( unsigned int j = range; j <= (num); j = j + ncols )
{
range.push_back(row_d[j]);
}
for ( unsigned int j = az; j <= (num); j = j + ncols )
{
az.push_back(row_d[j]);
}
for ( unsigned int j = el; j <= (num); j = j + ncols )
{
el.push_back(row_d[j]);
}
RAzEl = {range, az, el} ;
```

would making a for loop to assign each number of each vector to their apropriate place be the only way to do it? surely there is a more efficient way