home *** CD-ROM | disk | FTP | other *** search
- ╦void Process╦() { ╘// Part 1 int done╦ = 0╦; char response ╦= 'q'╦; long numeric ╦= 0╦; String32 string╦; do { cout ╦<< endl ╦<< endl╦; cout ╦<< " P(u)sh Int P(U)SH String" ╦<< endl╦; cout ╦<< " P(o)p Int P(O)P String" ╦<< endl╦; cout ╦<< " P(r)int Int stack P(R)INT String stack" ╦<< endl; cout ╦<< " (Q)uit" ╦<< endl╦; cout ╦<< endl ╦<< endl╦; cin ╦>> response╦; switch (response╦) { case 'U'╦: cout ╦<< "Enter a valid string: "╦; cin ╦>> string.string╦; stringStack.Push╦( string╦); break; case 'u'╦: cout ╦<< "Enter an integer: "╦; cin ╦>> numeric╦; intStack.Push╦( numeric╦); break;