Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,208 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,337 people online right now. Registration is fast and FREE... Join Now!




c++ code for dequeue

 
Reply to this topicStart new topic

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

MyrN
7 Jul, 2008 - 11:30 PM
Post #1

New D.I.C Head
*

Joined: 7 Jul, 2008
Posts: 1

how do we implement the function dequeue of the class queue in a c++ code (data structures)?
User is offlineProfile CardPM
+Quote Post

lordms12
RE: C++ Code For Dequeue
8 Jul, 2008 - 03:56 AM
Post #2

D.I.C Regular
Group Icon

Joined: 16 Feb, 2008
Posts: 314



Thanked: 15 times
Dream Kudos: 225
My Contributions
Depending on your implementation (array, linked list, ....)
User is offlineProfile CardPM
+Quote Post

captainhampton
RE: C++ Code For Dequeue
8 Jul, 2008 - 04:30 AM
Post #3

Jawsome++;
Group Icon

Joined: 17 Oct, 2007
Posts: 518



Thanked: 2 times
Dream Kudos: 825
My Contributions
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.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 12:48PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month