Thread: Que & stacks

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    1

    Que & stacks

    Any body knows a website that explains ques & stacks in C Language.

    I am working on a program that can

    1.To enqueue an element
    2. To dequeue the element\n
    3. To check if an element X is in the queue if it is to return the location
    4. To check for queue being full in case of array implementation
    5. To check if queue is empty
    6. To return to higher - level Menu.

    In other words just giving an example of que FIFO.
    Any body knows how can start doing this program in an easy way.
    any suggestions. will be welcome.

    thanks
    Muff

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Do you even know what a queue is? How about a stack? If you know anything about either, and if you know anything about C, you can easily implement either. Of course, you could always just search for queues and stacks...

    Next, consider reading the forum announcements, which will cover things like code tags, posting code, etc.

    If you don't like any of those suggestions, might I suggest something like Google, which were you to search there, would also have information on the afore mentioned topic.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please Help Me With This Code Of Implementing Stacks
    By raghu_equinox in forum C Programming
    Replies: 3
    Last Post: 10-19-2006, 07:22 AM
  2. ...multiplication using stacks
    By iiwhitexb0iii in forum C Programming
    Replies: 1
    Last Post: 10-09-2006, 01:28 AM
  3. Avioding Stacks
    By LoafOfBread34 in forum C++ Programming
    Replies: 8
    Last Post: 12-08-2004, 06:20 AM
  4. Dumping singly linked list into 2 stacks.
    By strotee76 in forum C++ Programming
    Replies: 5
    Last Post: 05-16-2004, 05:48 PM
  5. Stacks stacks stacks
    By Unregistered in forum C Programming
    Replies: 4
    Last Post: 06-06-2002, 02:01 AM