|
|
|
|
vector<int> customer;. I need to access this vector in another function: |
|
vector<int> customer into your function:bool is_switching(unsigned int this_second, unsigned int this_customer, const vector<int>& customer)const modifier because your function doesn't modify it.vector<int>, so int::iterator should be vector<int>::iterator. You can't iterate over an int anyway.| I've seriously had it with C++. It was put on this earth to make my life hell. |