First page
Back
Continue
Last page
Graphics
IntStack::push
bool IntStack::push(const int & pushValue)
{
if ( ! isFull( ) ) {
stackPtr [ ++top ] = pushValue;
return true;
}
return false; // push unsuccessful
}