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

  1. bet united states online casino listing in india (Maxie) bonus, online casino with free signup bonus real money canada and
    usa online casino no deposit bonus codes, or real money poker apps united
    states

  2. I additionally believe that mesothelioma is a unusual form of many forms of cancer that is generally found in those people previously familiar with asbestos. Cancerous cellular material form inside the mesothelium, which is a shielding lining which covers many of the body’s areas. These cells usually form while in the lining from the lungs, stomach, or the sac that encircles the heart. Thanks for giving your ideas.

  3. fishin freuky slot online free, canadian online casino no deposit bonus codes and best online poker site for beginners usa, or best casino sign up offers uk

    Feel free to visit my webpage; bingo prices gala (Jerome)

  4. free casino games in united states, tiger gaming
    poker uk and $5 minimum deposit casino australia 2021, or
    dollar 1 minimum deposit mobile casino united states

    Also visit my page … play street craps online (Sharyl)

  5. buy poker machine australia, australian currency poker chips and no deposit online casino similar to bovada – Colby, canadian casinos, or casino
    usa bonus

Leave a Reply

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