SHARE
TWEET

Untitled

Amr1998 Apr 18th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  if(tmp->info==current->info)
  2.                 {
  3.                     bool flag = false;
  4.                     for(int i : c)
  5.                     {
  6.                         if(i==tmp->info)
  7.                             flag =true;
  8.                     }
  9.                     if (flag==false)
  10.                         //   c.push_back(tmp->info);
  11.                         c->addtohead(tmp->info);
  12.  
  13.                 }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top