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

  1. top l’auberge casino lake charles spa – Ginger – in canada for real money,
    is gambling illegal in the uk and fastest paying online
    casino usa, or casinos that accept neteller australia

  2. 10 free spins no deposit casino uk, usa casino sign up bonus and online poker united statesn express, or
    free video loop casino (Hector) sign up bonus united statesn casino

  3. united kingdom pokies online real how to earn money
    online in india without investment – Chantal
    -, forms of gambling in canada and casino in united states, or casinos that
    accept neteller australia

Leave a Reply

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