Problem in Stack Implementation using Linked list

Discussion in 'C' started by back from retirement, Nov 20, 2008.

  1. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Well done!

    You could improve it immediately in one respect: since the initialisation must be done, do that anyway at the start of main without requiring the user to select it from the menu. Also this removes the "need" for the goto's (you should never need to use a goto and they should be avoided wherever possible).
     
  2. back from retirement

    back from retirement New Member

    Joined:
    Nov 9, 2008
    Messages:
    72
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Student, UG 1st Yr., Jadavpur University
    Location:
    Uttarpara, West Bengal, India
    I see....I have done it....thanks a lot....now I think I have LEARNED it properly....thank you sir.... :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice