Questions tagged as 'fila'

1
answer

How to add elements in Queue continuously?

Below I have a code that it needs to do the following: Create a thread, then start it. When you start the thread, according to the time (random time) the program adds a value in the queue, after being added to the queue, it needs to show how man...
asked by 01.05.2018 / 02:13
1
answer

C ++: Data structure / Queue

I made a data structure algorithm. I put all my knowledge into it. I can not find the error. I leave the exercise statement below:    Make a program that creates two F1 and F2 queues, each one of size 10.   Read 20 integers, and if the number...
asked by 09.08.2017 / 03:38
1
answer

Is there anything I need to do to ensure queue delivery (SQS) at AWS?

Assuming that I have 2 microservices "A" and "B" that are communicating via an SQS "F" queue. Microservice "A" can fall, "B" can also fall, the question is: should I take into account that "F" could also fall? If I take into account that "...
asked by 07.11.2018 / 00:04
0
answers

Send Notification in a queue with dynamically generated attachments

I have a notification that implements the "ShouldQueue" interface and it gets the path to a dynamically generated PDF, however I can not attach this PDF attachment, it attaches a corrupted PDF with a very small size. Alternatively, I tried to...
asked by 05.09.2018 / 11:04
0
answers

Insert at the beginning of a circular row

I'm working on a circular queue program where I want to implement a "stick queue" function where the user enters a number and this number should be entered in the queue spaces prior to f.com. But the logic I implemented did not seem to work very...
asked by 14.06.2018 / 23:21
0
answers

FIFO with STRUCT does not work

Good evening, ten days ago I posted this question: How to create FILA passing a STRUCT with community support I've created this code: #define TAM 5 #include <stdio.h> #include <string.h> #include <stdlib.h> #include <lo...
asked by 28.04.2018 / 23:59
0
answers

How to create FILA by passing a STRUCT

I'm trying to create a code in which I'll enter 10 candidate names in a queue using a C structure. But I do not have much knowledge in C data structure. I did this: #define TAM 5 #include <stdio.h> #include <string.h> #include...
asked by 18.04.2018 / 18:43
0
answers

How to correctly insert data into a queue in JavaScript?

I have to insert some data into a queue, and I have the following functions:    InsertPos - which will insert the position of the data,       RemovePos - which will remove the position of the die,       ReadList - which will read the list t...
asked by 25.10.2017 / 00:55
0
answers

Save text on visual

I'm trying to create a journal that has a reminder class to add just the reminder out of the journal. Well, I have a problem here at school and I wanted to know one thing, how to make the text I wrote get saved, even after closing the console...
asked by 14.09.2017 / 15:05
1
answer

Print item from a queue by removing each item from it

I'm doing a program that receives a string with comma-separated words that separates those words and lines them (so far I've been able to do it quietly), then the program has to remove and print the items, but I can not develop the de-working fu...
asked by 10.07.2017 / 05:32