Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- 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.
- This is my :
- LinkedList.cpp: https://pastebin.com/zi7uF04H (the method remove is here)
- Node.h: https://pastebin.com/GSKJdREm
- Node.cpp: https://pastebin.com/2U71nTjp
- linkedlist.h file : https://pastebin.com/6ML1Cw16
- LinkledListDemo.cpp (including) main method : https://pastebin.com/2iNGjHTj
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement