Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public bool Pop(bool verbose)
- {
- //toDo
- if (!EstaVacia())
- {
- this.top--;
- for (int i = this.top; i < this.max-1; i++)
- {
- this.arreglo[i + 1] = this.arreglo[i];
- if (verbose)
- Console.WriteLine(MostrarVerbose());
- //imprimir estado de la pila
- }
- return true;
- }
- else
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement