#include #include "StackA.h" using namespace std; int main(int argc, char *argv[]) { { Stack S; S.push(new Char('A')); S.push(new Char('B')); S.push(new Integer(2006)); S.push(new Char('C')); while (!S.isEmpty()) { cout <<"Top object: "<<*S.peek()<