Hi, I have a quick question about filling a stl deque from a stl vector. I would appreciate it if someone could tell me what I'm doing wrong in this snippet of code. the vector is called lines, and the deque is called testbuffer.
1 2 3 4 5 6
deque<double>testbuffer (10);
for(unsignedint i = 0; i < lines.size(); i++)
{
testbuffer.push_back(lines.at(i)); // this line gives me an error.
}