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,235 Comments

  1. Hi, I where do i list gambling winnings on 1040 (Linda)
    think this is a great site. I stumbledupon it 😉 I am going to
    revisit yet again since i have bookmarked it.
    Money and freedom is the best way to change, may you be rich and continue
    to help other people.

  2. is there a casino in toronto canada, online poker in australia legal and new zealandn eagle slot machine, or free casino chips usa

    My web blog :: blackjack 21 blackjackist hack (Maryann)

  3. fishing frenzy demo slot, in casino in usa and no deposit no can you use prepaid credit cards for online
    gambling – Selene – card casino bonus usa 2021 nonstop, or new casino
    slot sites usa

  4. netent casino list usa, united states how to get free stuff from casinos (Fausto) online slots and new zealandn gambling habits, or
    online casino from united states

  5. canadian jack casino table games – Regena, guide blackjack chart, top 50 casinos in usa and
    free online slot machines united kingdom, or top online pokies and casinos canadian free
    games

Leave a Reply

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