Example #1
0
void teststack(stack& a){
  for(int i = 0 ; i < 16; i++){
    a.push(i);
    a.print();
  }
  for(int i = 0 ; i < 16; i++){
    cout << "pop value : " << a.pop();
    a.print();
  }
  //  a.pop();
}