C++ - Stack Pop() Function with Singly Linked list
问题 For starters this is apart of my current homework assignment for my Data Structures class. I am not asking for answers, I am asking for help. I have a stack class that is implementing a Linked List instead of an array. I am currently trying to write my pop() function. I have a node for my theBack part of the stack. I am just confused as to getting to the predecesor of my theBack node. Any help with this would be awesome! Thanks! 回答1: A stack is actually reasonably simple to implement as a