compare vectors for equality
Could anyone please help?
I have got two structs.
Data in both structs has been stored in vectors. Both structs also contain vectors inside it. I want to match each element of the vector LC0413_IDs
(of struct LC_block
) with id1
(of struct TRS_block
) for equality. If any of the elements of vector LC0413_IDs matches either of the two ids i-e id1 and id2, then e-g a flag would be set to true.
Could anyone please help, how do I go about it.