Chora Mora

-2

votes
0

answer
19

views

How do I copy elements which are stored in a int list to a int vector? [on hold]

I have a task to copy a listx elements into vectory using STL algorithms. I have checked everywhere, seems there is no way. Does anyone know? Please help out. I have created another vector with capacity to copy up to 10 elements. But my copy() function is not working. /*Here is the chunk of a code...
Chora Mora