Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. join(scheme1, scheme2, tuple1, tuple2)  // join t1 and t2 to make tuple t
  2. {
  3.     copy tuple1 to t    // t is the result to be returned
  4.     for (name2, value2, in scheme2, tuple2) // int going through both vectors at the same time
  5.     {
  6.         if (name2 not found in scheme1) add value2 to t;
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement