text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

example302.cpp

Go to the documentation of this file.
00001 
00015 #include <iostream>
00016 #include "StackA.h"
00017 
00018 using namespace std;
00019 
00020 int main()
00021 {
00022    StackItemType anItem;
00023    Stack aStack;
00024 
00025    cin >> anItem;            // read an item
00026    aStack.push(anItem);      // push it onto stack
00027 
00028    return 0;
00029 } // end main

Generated on Sun Aug 27 16:41:10 2006 for AWLogo by  doxygen 1.4.6