c++ code for dequeue

how do we implement the function dequeue of the class queue in a c++ c

Page 1 of 1

2 Replies - 5545 Views - Last Post: 08 July 2008 - 05:30 AM Rate Topic: -----

#1 MyrN  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 1
  • Joined: 08-July 08

c++ code for dequeue

Post icon  Posted 08 July 2008 - 12:30 AM

how do we implement the function dequeue of the class queue in a c++ code (data structures)?
Is This A Good Question/Topic? 1
  • +

Replies To: c++ code for dequeue

#2 lordms12  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 30
  • View blog
  • Posts: 339
  • Joined: 16-February 08

Re: c++ code for dequeue

Posted 08 July 2008 - 04:56 AM

Depending on your implementation (array, linked list, ....)
Was This Post Helpful? 0
  • +
  • -

#3 captainhampton  Icon User is offline

  • Jawsome++;
  • member icon

Reputation: 13
  • View blog
  • Posts: 548
  • Joined: 17-October 07

Re: c++ code for dequeue

Posted 08 July 2008 - 05:30 AM

Maybe you should implement the queue first, in short a dequeue however is supposed to take the first item in and process it as the first item out FIFO system, have you attempted to write code for this function.
Was This Post Helpful? 1

Page 1 of 1