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. Ina Ina

    80 free spins no deposit uk, uk online slots sites and echeck casinos united kingdom,
    or australian poker tournaments

    my website … homepage (Ina)

  2. age legal casino new zealand, no deposit bonus on sign up usa and no deposit cash bonus compter les cartes casino – Marissa – canada, or casino tax recovery united
    kingdom

  3. Салам, Бишкек То выплаты задерживают Нервов потратил — мама не горюй Короче, работает стабильно и честно — mostbet с быстрыми выплатами Вывод денег за 5 минут В общем, жмите чтобы не потерять — мостбет кыргызстан мостбет кыргызстан Только mostbet реально рулит Перешлите тому кто тоже ищет нормальную контору

  4. all new zealandn casino, usa gambling ranking and uk casino free bonus, or australian play blackjack plus 3 online free (Margot) gambling legislation

Leave a Reply

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