help with linked list for displaying "stack is full"

This is a discussion on help with linked list for displaying "stack is full" within the C++ Programming forums, part of the General Programming Boards category; How to show that the queue is full / queue underflow using linked list , i mean what are the ...

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    1

    help with linked list for displaying "stack is full"

    How to show that the queue is full / queue underflow using linked list , i mean what are the basic steps to make the program to display it ?? can anyone help me to put the "stack is full" option under the insert function in this given program?? i wan't to add only that function !! i tried my best but didn't find any proper solution ! any help would mean a lot to me !!
    program is given below , i just wan't to add the "queue is full" option !! thanx a lot in advance queue.txt

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    Some things to read, so you can make your code more readable for everyone else.
    SourceForge.net: Indentation - cpwiki

    SourceForge.net: Void main - cpwiki

    A solid mass of text with NO indentation is pretty much the worst code you can post.
    For example, a single blank line between each function can really help with clarity.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    The larch
    Join Date
    May 2006
    Posts
    3,573
    And exactly what does it mean for a linked list to be "full"?
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Linked list program need help !!!
    By dcoll025 in forum C++ Programming
    Replies: 1
    Last Post: 04-20-2009, 11:03 AM
  2. Following CTools
    By EstateMatt in forum C Programming
    Replies: 5
    Last Post: 06-26-2008, 11:10 AM
  3. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  4. Replies: 6
    Last Post: 03-02-2005, 02:45 AM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 11:21 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21