i need help creating a simple command based Queue program. i need to make a program that if you type in, for example a name it will then put that name next in line on the Queue and if you type a command such as delete (the name in the Queue) that it will remove that name from the Queue. i also need it to display the updated Queue every time you put a new entry in the Queue. i know that this is probably quite easy to do but i am an extreme novice at programing and do not know where to start. any help is appreciated, thanks.
First thing to make sure of is that a First In First Out (FIFO - which is what a queue is) is the data structure you are looking for. If you just want to have a list of things, and then delete things by their names, it may make more sense to have a linked list or some other data structure instead.
If it is a queue is what you are looking for, many languages have a built in Queue class/interface/template/whatever. Assuming this isn't for an assignment, reading up on that would be a good place to start.