Thread: I need a queue

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    12

    I need a queue

    Can someone please send me a copy of a working queue that will except integers and allow for deletion of nodes.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Well, seeing as how writing a queue with those requirements takes almost no effort at all, give it a try yourself and if you have problems with your code we'll try to help.

    -Prelude
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    28
    if u're too lazy to write it urself....

    here's a wild idea.

    #include <queue.h>
    curiousity killed the cat, but it
    makes for one hell of a programmer.

    Alien.

  4. #4
    Sayeh
    Guest
    On a kinder, gentler note (rare for me, I know)--- is your inability to create a queue because you

    a) don't understand how they work
    b) don't know enough to manage pointers
    c) are afraid to ask the teacher for help...

    We can explain the former two, and once you've given it a try, we'd be happy to help you understand the rest. If this is for a class project, don't by shy-- ask your teacher. I kid you not when I say that this is the only time in your life when you can ask anything you like and not look stupid-- your not _supposed_ to "know" anything yet...

    good luck,

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with FIFO QUEUE
    By jackfraust in forum C++ Programming
    Replies: 23
    Last Post: 04-03-2009, 08:17 AM
  2. Fixing my program
    By Mcwaffle in forum C Programming
    Replies: 5
    Last Post: 11-05-2008, 03:55 AM
  3. help with queues
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 05-21-2002, 09:09 PM
  4. help with queues
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 05-21-2002, 11:39 AM
  5. queue help
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 10-29-2001, 09:38 AM