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

  1. gambling illegal usa, usa mobile casinos no deposit bonus
    and how best apps to earn money without investment – Sandra, get money
    back from gambling sites usa, or free casino bonus united states

  2. online casino canada free spins, is gambling illegal
    in the uk and bingo bonus usa welcome, or cma uk gambling

    Here is my blog: blackjack winning betting system (Ruby)

  3. top australian online pokies, united statesn online pokies paysafe and online casino united states review, or online what is a
    casino dealer in spanish (Abdul) canada free bonus

  4. free chip no deposit bonus codes 2021 canada, no deposit required online casino
    usa and free sign up bonus usa bingo, or free bonus casino uk

    Feel free to surf to my site … betting on roulette game
    (Krystle)

  5. pokies return rate canada, canadian poker admiral and casino on net 888 usa, or online casino in canada 2021

    Here is my web site – bingo vega reviews (Janie)

  6. can i use td australia visa debit for online gambling, how to play casino spin; Clair, many poker machines in australia and real online casino australia,
    or bingo no deposit bonus win real money united states

  7. legit online casinos usa, united statesn online casino win real money and online casino uk 5
    deposit, or free spanish 21 blackjack games; Raymond,
    spins casino no deposit bonus united states

  8. 10 free spins no deposit casino uk, how to start your online gambling business (Hildred) casino united
    states 1 dollar deposit and united kingdom friendly online
    poker sites, or free poker machines online united states

  9. united statesn online pokies review, no deposit online casino united states and
    online macau casino skyfall [Darryl] available in australia,
    or best usa online slot sites

Leave a Reply

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