Hello,
I am have a programming assignment where I need to simulate a store's waiting line for check out.
I am a little confused about the struct declaration, can someone please help me make sure i'm on the right track, b4 I dive into working on this program?
Code:struct queue{ int * element; //an array that will later be allocated using malloc representing each persons position in the line? int front; //points to the front of the queue? int numElements //the current size of the queue ? int queueSize //this is the max size of the queue? }