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

2,011 Comments

  1. free casino games in united states, duke nukem forever slot
    machine jackpot and free bonus no deposit casino usa, or usa where
    is gambling illegal in the world (Chantal)
    license

  2. cahuilla casino anza ca, online poker in australia legal and juki slot
    machine, or no deposit bonus aus is river rock casino
    open for business, Sherri,

  3. new zealandn no deposit bonus casinos, usa new online casino and new online slot sites uk, or craps guide uk

    Here is my homepage; roulette card game – Tyson,

  4. top earn money online surveys india; Shela, pokies and casinos united statesn rockets, online gambling
    ads uk and canadian poker, or free bonus casino uk

  5. chusachansi casino in fresno california, casino games canada and
    online casino canada no deposit sign up
    bonus, or new online casino australia 2021

    My blog post are automatic roulette tables rigged (Chloe)

  6. £20 free no deposit is the palms casino open [Kristofer]
    uk, legitimate online pokies australia and new gambling sites australia, or new no deposit free spins uk 2021

Leave a Reply

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