Re: what is a stack

From: Liz (Liz_at_nospam.com)
Date: 07/16/04


Date: Fri, 16 Jul 2004 04:21:33 GMT


"Roedy Green" <look-on@mindprod.com.invalid> wrote in message
news:9cief0pcunb76u2lu69uj2t7nfgjams655@4ax.com...
> On Fri, 16 Jul 2004 03:00:32 GMT, "Liz" <Liz@nospam.com> wrote or
> quoted :
>
> >I have seen in various places reference to a 'stack'
> >But what is a stack? Is it a machine specific
> >implementation of something, is it a machine hardware
> >feature/capability
>
> see http://mindprod.com/jgloss/stack.html

It says
A stack is a sort of LIFO (last in first out) queue.

So it is made of objects? What kind of objects, Integer()?



Relevant Pages

  • Re: what is a stack
    ... is it a machine hardware ... One remark in a book on Java ... > the first 4 variables on the stack. ... - you can get something out if it's not empty (has a pop operation which ...
    (comp.lang.java.programmer)
  • Re: what is a stack
    ... >But what is a stack? ... is it a machine hardware ... Canadian Mind Products, Roedy Green. ... Coaching, problem solving, economical contract programming. ...
    (comp.lang.java.programmer)
  • Re: Statement on Schildt submitted to wikipedia today
    ... using memoization and a work queue: ...     take from the front of the queue ... Neither the cache nor the work queue can be construed as a stack. ... I'm NOT saying that Higher Math is a conspiracy. ...
    (comp.lang.c.moderated)
  • Re: what is a stack
    ... Note that the terminology "LIFO queue" is somewhat of an oxymoron. ... A queue is a FIFO data structure (formally referred to as an Abstract Data ... A stack is a LIFO data structure. ...
    (comp.lang.java.programmer)
  • Re: Only one end of a stack is dynamic, the oldest item is the last removed.
    ... your stack is huge and C.P.U. intensive, just give it its own heap; ... Only one end of a stack is dynamic, the oldest item is the last removed. ... It's commonly used to refer to a LIFO queue. ... certainly done using linked lists, ...
    (microsoft.public.vc.language)