Skip to content

Stack, Data Structure.

Good Night,

What is Stack? Stack is a data structure of abstract data used a lot in computers, and it is based on the principle LIFO (Last in, first out). It has 2 basic functions, push and pop. It is simple right?

The professor told us to solve this:

* Implement all operations about stack.
* Implement a program that use your stack. The program must have a menu with: pop, push, clean, show stack, exit. Use switch.
* When the program show each element from stack it must show the position of the stack.
* The stack must have max size of 30. As a constant named MAXPILHA
* The stack is referenced by a global reference.

Stack, first implementation.

Regards,
Matheus

PS: I start translating “all” old posts. Maybe this old ones, don’t have all stuffs translated (like attachments in this one)

Published inCEstrutura de Dados

1,226 Comments

  1. Здорова, народ Ситуация критическая Соседи стучат в стену Нужна срочная помощь на дому Короче, врачи приехали и поставили систему — вывод из запоя самара с капельницей Поставили капельницу с детоксикационным раствором В общем, телефон и цены тут — выведение из запоя на дому нарколог https://alkogolizm.vyvod-iz-zapoya-na-domu-samara-abc.ru Звоните прямо сейчас Перешлите тем кто в такой же ситуации

  2. Здорова, народ Муж просто потерял себя Соседи стучат в стену Таблетки не помогают Короче, единственное что вытащило из запоя — вывод из запоя на дому недорого и качественно Приехали через 40 минут В общем, жмите чтобы сохранить — вывод из запоя цена https://kapelnicza.vyvod-iz-zapoya-na-domu-nizhnij-novgorod.ru Звоните прямо сейчас Перешлите тем кто в такой же ситуации

  3. winstar world casino net worth, Mckenzie, near heiuk field, best online pokies
    united kingdom forum and canada best slot machine,
    or minimum dollar 5 deposit casino australia

Leave a Reply

Your email address will not be published. Required fields are marked *