C++ Etc. Resources for Lab 2 on Stacks
Here are some slides from a past class on C++ strings and vectors. [34 slides: PDF
6-per-page, or PDF 1-per-page (better for on-line viewing)]
Your should also read about strings and vectors in your C++ textbook, e.g. in Weiss' C++ for Java Programmers,
Section 2.2.
For information on the STL stack class, you can also look in your C++ textbook, e.g. in Weiss' C++
for Java Programmers, Chapter 10. There are some resources on the web but each is a bit hard to use or has
"issues":
- The original documentation for the STL from 1994 (!) can be found at http://www.sgi.com/tech/stl/
. No guarantees that the 1994 version is completely accurate today. But this is easy to use.
- Microsoft's MSDN site for Visual C++ has a library on all the Standard
Library classes, including this entry for the
class stack. Look under the link "stack members" for details on the member functions.
- This site has good info on the C++ standard library
classes, but there are some annoying "click-throughs" you have to go through when browsing. (Yes, I agree
to the license. No, I don't want to buy it.) But you will be able to see good, accurate info on the libraries.
Unix Links:
From the lab document, we told you that introductions to UNIX can be found at http://www.itc.virginia.edu/desktop/unix/docs/
and http://cslibrary.stanford.edu/107/ .