+ 6
How to assign vector values to array values?
Suppose i want to create a vector that has size of 12 elements and i want to assign as the values from an array of 12 elements of integer, how to implement in c or c++?
1 ответ
+ 4
vector<int> myVec(arrayName, arrayName+12)