I am a beginner. I'm working from a book called "The complete idiot's guide to c++". And I feel like an idiot, because I can't figure out the following.
The question in the book is from the Polymorphism chapter 22. Specifically, from a STACK to a LIST.
The part I am struggling with is:
I need to ask the user for them to select an element (not an offset) from an array & then remove that element from the array. Then the higher-placed elements will be shuffled down one place to fill the empty element. The elements below will remain unchanged. I think I have the part where I ask the user to select the element, but I'm struggling to figure out how to then remove that element & shuffle the higher-placed elements down one & leave the other elements untouched.
Can someone please help?
I hope I provided enough details!