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

  1. best horse racing betting strategies​

    Feel free to visit my site – english greyhound derby towcester​ – Alta,

  2. Москва, всем привет Ситуация критическая Родственники не знают что делать Таблетки не помогают Короче, только это реально спасло — вывод из запоя на дому цена фиксированная Сняли ломку и стабилизировали состояние В общем, телефон и цены тут — вывод из запоя наркология https://kruglosutochno.vyvod-iz-zapoya-na-domu-moskva-jst.ru Не ждите пока станет хуже Перешлите тем кто в такой же ситуации

  3. slots no deposit bonus uk, bingo canada login and usa slot machines, or best online
    casino for slots uk

    Here is my website: characteristics of gamblers (Shelli)

  4. Здорова, народ Брат снова сорвался Дети напуганы Нужен врач прямо сейчас Короче, врач приехал и поставил систему — вызвать анонимного нарколога с препаратами Через пару часов человек пришёл в себя В общем, телефон и цены тут — частный нарколог на дом https://czena.narkolog-na-dom-krasnodar22.ru Звоните прямо сейчас Перешлите тем кто в такой же ситуации

  5. Люди помогите советом Муж просто потерял себя Жена в истерике Нужен врач прямо сейчас Короче, только это реально спасло — нарколог на дом в реутове анонимно Приехал через 40 минут В общем, телефон и цены тут — наркологическая помощь на дому в реутове https://czena.narkolog-na-dom-moskva-pcr.ru Не ждите пока станет хуже Перешлите тем кто в такой же ситуации

  6. Ugh, moving — what a nightmare. I just went through it a couple months back, and no joke, I almost lost it. First you pack a few things, then it hits you like a truck. My buddy used one crew, but I decided to look deeper. Basically, when you’re hunting for a decent moving company in nevada, don’t settle for the first quote. Here’s the thing, local nevada movers know the routes — especially with summer temps. Like I did — called a bunch of places — and trust me, it was 100% worth it. Check this out that helped me decide. nevada moving services https://movers-in-nevada-pcq.com Just that resource saved me hours of digging. Prices are right there — no hidden junk fees. I booked through them and it was surprisingly painless. So yeah, don’t rush. Ask about equipment. The right company makes moving boring. Wish I had found this sooner!

  7. Oh man, this whole moving thing is exhausting. Done that just last summer, and seriously, it was a total circus. Seems easy enough, then bam — you realize you have way too much junk. My coworker used some guys, but I wanted to be sure. Basically: when you’re on the hunt for a reliable moving company in nevada, compare a few options. The thing is, nevada based movers know the local roads — especially for long hauls. For example — made like five calls — and I’m not exaggerating, I avoided a huge headache. So here’s the link that helped me lock in a good one. nevada moving services https://movers-in-nevada-xhr.com Honestly that list cut my search in half. They show you the costs upfront — no hidden charges. Scheduled my whole move and they killed it. So take your time. Confirm the timeline. Quality service is everything. Good luck with your move!

Leave a Reply

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