title: What are stacks used for? Why are they in C++?
body: <p>I've been reviewing C++ with the book <a href="http://books.google.com/books/about/Practical_C++_programming.html?id=pXDzdJ_1E3oC" rel="noreferrer">Practical C++ Programming</a>, and came across these things called Stacks. Defined in the book, it is defined as an algorithm for storing data.</p>
  
  <p>From what I've seen in the book, it looks a lot like assembly...I also recall reading something about something that is 16 bit. </p>
  
  <p>So my question: What are stacks used for, are they still useful or is it an old method of doing something that can be done more simply and efficiently with 32/64 bit computers? I'm just really confused about what purpose stacks serve.</p>
  
  <hr>
  
  <p>Edit: Since my question is so vague, I'll rephrase it... What is a stack, and when should it be used.</p>