how to implement stack work as a queue

Discussion in 'C Programming' started by asximos, Nov 24, 2008.

  1. asximos

    asximos

    Joined:
    Nov 24, 2008
    Messages:
    1
    i need to implement a stack to a queue, but only one stack [not another one as temp stack]......

    1. i think somthing like the ponter shown back, but i am not sure

    thnks
     
    asximos, Nov 24, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul L. Du Bois

    Queue.Queue-like class without the busy-wait

    Paul L. Du Bois, Mar 24, 2005, in forum: Python
    Replies:
    29
    Views:
    1,091
    Antoon Pardon
    Apr 4, 2005
  2. Russell Warren

    Is Queue.Queue.queue.clear() thread-safe?

    Russell Warren, Jun 22, 2006, in forum: Python
    Replies:
    4
    Views:
    710
    Russell Warren
    Jun 27, 2006
  3. Pascal J. Bourguignon

    Re: implement stack and queue in C or in asm

    Pascal J. Bourguignon, Apr 3, 2010, in forum: C Programming
    Replies:
    0
    Views:
    1,594
    Pascal J. Bourguignon
    Apr 3, 2010
  4. Dr Malcolm McLean

    Re: implement stack and queue in C or in asm

    Dr Malcolm McLean, Apr 4, 2010, in forum: C Programming
    Replies:
    1
    Views:
    441
    Dr Malcolm McLean
    Apr 4, 2010
  5. Kris
    Replies:
    0
    Views:
    516
Loading...

Share This Page