Advertisement
Guest User

context

a guest
Apr 2nd, 2020
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. I'm trying to a method to remove an element in a double linkedlist. However, the program run normally without error but doesn't work. I really need to know how to make method remove work as it is supposed to. I am using c++ 98. There is no bugs or errors. It just the method doesn't work.
  2.  
  3. After trying a lot of ways, the problem is the method doesn't find the data in the nodes that matches the input string word . And i have no clue what to do with it.
  4. This is my :
  5. LinkedList.cpp: https://pastebin.com/zi7uF04H (the method remove is here)
  6. Node.h: https://pastebin.com/GSKJdREm
  7. Node.cpp: https://pastebin.com/2U71nTjp
  8. linkedlist.h file : https://pastebin.com/6ML1Cw16
  9. LinkledListDemo.cpp (including) main method : https://pastebin.com/2iNGjHTj
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement