if we use queue from c++ stl, we don't need

//void enqueue(struct queue *q, int a)
//int dequeue(struct queue *q)


my TA has it on the slides but since the c++ queue has push and pop enqueue and dequeue isnt needed, right?

push and pop are std::queue's equivalent of enqueue and dequeue, respectively.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.