void copyCharStack( StackAr<char>* stackIn_, int* sizeIn_ )
{
StackAr(char)* tempCharStack( sizeIn_ + 5 );
while( !stackIn_->isEmpty() )
{
tempCharStack->push( stackIn_->topAndPop() );
}
delete stackIn_;
stackIn_ = tempCharStack;
delete tempCharStack;
}
欢呼,谢谢!