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

  1. united statesn free pokies games, united statesn original slot machine game
    and new zealandn real money pokies, or what is a sweep in casino card game; Cherie, pay by mobile usa

  2. no deposit bonus codes usa, legal online poker sites australia and new no deposit bonus casino uk, or free
    online games win real money no deposit usa

    My web blog: mystery ranch blackjack 100 multicam (Felipa)

  3. bitcoin gambling usa, united statesn online casino legal and
    united kingdom real money sands casino bus schedule – Orval -,
    or buy bingo game australia

  4. online pokies reviews australia, virtual graton casino
    spa reviews, Lorena, united states and online casino united states review, or new casino slots
    uk

  5. 60 free spins no deposit uk, online gambling roulette united states and instant roulette evolution gaming (Aisha) australia rules,
    or new online casino australia 2021

Leave a Reply

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