Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. void DeleteRK(ListR &LR, ListK &LK, string x){
  2. addressR R = first(LR);
  3. addressK K = FindElmK(LK, x);
  4. while (K != NULL && R!=NULL){
  5. DeleteR(LR, provinsi(R), K);
  6. R = next(R);
  7. }
  8. DeleteK(LK, x);
  9. }
  10.  
  11. void DeleteRP(ListR &LR, ListP &LP, string x){
  12. addressR R = first(LR);
  13. addressP P = FindElmP(LP, x);
  14. while (P != NULL && R!=NULL){
  15. DeleteR(LR, P, komoditas(R));
  16. R = next(R);
  17. }
  18. DeleteP(LP, x);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement