X
xyz
i have a vector of certain class which has certain parameters
xxx is my class
and here is my vector
std::vector<xxx > yyy;
in my vector i have the data as below:
12 abcde 34567 asdf 1
13 fjggkf 2343 fkjhk 3
12 fgfgfh 33434 fgh 2
34 dgdg 5454 fgfdg 2
.....
now i want to iterate through my vector inorder i have to delete 2nd
line in my vector
here is my iterator which goes through all elements of my vector
std::vector<xxx >::iterator iter;
i could able to do with the integer vector but i have problem with the
vector of certain class
thank you for any help
xxx is my class
and here is my vector
std::vector<xxx > yyy;
in my vector i have the data as below:
12 abcde 34567 asdf 1
13 fjggkf 2343 fkjhk 3
12 fgfgfh 33434 fgh 2
34 dgdg 5454 fgfdg 2
.....
now i want to iterate through my vector inorder i have to delete 2nd
line in my vector
here is my iterator which goes through all elements of my vector
std::vector<xxx >::iterator iter;
i could able to do with the integer vector but i have problem with the
vector of certain class
thank you for any help