Skip to content

Queue, Data Structure

Good Night,

What is Queue? Queue is a data structure used a lot in computers, and it is based on the principle FIFO (First in, first out). It has 2 basic functions, enqueue and denqueue. What is First in, First out? It says that the first element that enter in the data structure is the first to be removed.

The professor told us to solve this:

* Implement all operations about Queue.
* Implement a program that use your Queue. The program must have a menu with: enqueue, dequeue, clean, show queue, exit. Use switch.
* The queue must have max size of 100. As a constant named MAXFILA
* The queue is referenced by a global reference.
* To define it use a type elementoDaFila that will be char[40] and define your queue as a vector of 100 elementoDaFila.

Queue 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,104 Comments

  1. Man, moving is such a nightmare — I just went through it a few months ago, and I swear, I almost lost my mind. You start packing, then suddenly see all that stuff. Neighbors suggested another, but I decided to dig deeper. Long story short, if you’re looking for good moving services around here, better compare a few options. The thing is, experienced crews save you from headaches, especially with those narrow suburban streets. Like me — spent a week reading reviews — and trust me, that extra homework paid off. By the way, this link where the best option popped up. nevada long distance movers https://movers-in-nevada.com Honestly, that resource cut my research in half. They have transparent rates — straight to the point. Ended up booking and the whole process was smooth. So yeah, don’t rush. Clarify the timeline. A good mover makes all the difference. Wish I had this info earlier!

  2. EdwardTOOFE EdwardTOOFE

    Большое количество алкоголя или наркотиков отправляют организм и самостоятельно продукты распада выходят достаточно долго. Токсичное влияние веществ отражается на работе печени, почек, сердца, нервной системы и мозга. Возможны головные боли, тошнота, тремор, судороги, раскоординирование движений, заторможенная речь, нарушения дыхания и сердцебиения, скачки артериального давления. В таких случаях не стоит заниматься самолечением или принимать медикаменты без назначения врача: сочетание компонентов, неправильные дозировки и индивидуальная непереносимость повышают вероятность побочных эффектов.
    Получить больше информации – наркологическая клиника лечение алкоголизма Красноярск

Leave a Reply

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