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

  1. free chip no deposit bonus codes 2021 canada, casino nsw united states and dollar 50 free chip casino united states, or bet365 craps odds usa

    My web page: blackjack side bets in vegas (Rachele)

  2. no how to deposit check on chime (Kindra) bonus casino united states,
    usa online casino reviews and traditional native united statesn gambling games,
    or free 10 no deposit casino uk

  3. win money instantly usa no deposit, 21 dukes highest probability of winning in casino game (Pearl) and slot machine for sale uk, or
    casino united states age

Leave a Reply

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