Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;
- for(int i : c)
- {
- if(i==tmp->info)
- flag =true;
- }
- if (flag==false)
- // c.push_back(tmp->info);
- c->addtohead(tmp->info);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement