rornoanparn

Untitled

Feb 26th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. void insertFirst(List &L, address P) {
  2.     address Q;
  3.     Q = firsts(L);
  4.     While(next(Q) != first(L)) {
  5.         Q = next(Q);
  6.     }
  7.     next(Q) = P;
  8.     next(P) = first(L);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment