Is there any problem with my code ?
std::vector weights; int weight[2] = {1,2}; weights.push_back(weight);
It can\'t be compi
One possible solution is:
std::vector weights; int* weight = new int[2]; weight[0] =1; weight[1] =2; weights.push_back(weight);