compare 2 vector lists

Hey everybody,

i write a small programm which contains 2 vector lists and everything i want to do is to compare both vector liists. i believe this is a easy question :) in the end i want to filter out the difference between two files
Last edited on
You mean probably std::vector.

comparison operators do exists. So
std::vector<int> a;
std::vector<int> b;
if(a == b)
Can easily be done. Note that they need be of the same type.

filter out the differences is of course more complex. It depends on the requirements
Topic archived. No new replies allowed.