Код: Выделить всё
void test(vector _array)
{
...
}
int x[3]={1, 2, 3};
test(x); // Syntax error.
Подробнее здесь: https://stackoverflow.com/questions/877 ... -to-vector
Код: Выделить всё
void test(vector _array)
{
...
}
int x[3]={1, 2, 3};
test(x); // Syntax error.