Posts by mahatt • 107 points
7 posts
-
0
votes1
answer38
viewsQ: How do I copy information from a column in googlePlanillas without repeating data if they have repeated data?
i have a spreadsheet in which a column contains names, I need to copy this data to another column, but without copying the repetitions of the names, example: Coluna A Coluna C Américo Américo…
-
2
votes1
answer154
viewsQ: Sort from minor to major in priority_queue unpacking by second element, is it possible?
I’m studying priority_queue and a question has arisen, if I want to insert in the priority queue a pair of elements, how do I so that the queue shows the element with the smallest number and if it…
-
1
votes1
answer44
viewsQ: How to ignore the last element in recursive call
I’m implementing a C tree, and one of my methods prints my tree in preorder, and separating the numbers with -. I created that function: void ImprimePreOrdem(TipoApontador arv){ if(arv!=NULL){…
-
0
votes1
answer48
viewsQ: What is the solution to this comparison?
I am programming in C for a college subject, we must read a file and create some list methods to use in the program, basically I must implement the structure of a list and use in a solution for a…
-
1
votes2
answers278
viewsQ: No match for 'Operator==' in find C function
TipoApontador find (TipoItem x, TipoLista *lista){ TipoApontador aux; if (lista->primeiro != NULL){ aux = lista->primeiro; while (aux!=NULL){ if (aux->item == x) return aux; aux =…
-
1
votes2
answers218
viewsQ: How to go through a set with entered data?
I have a little program that inserts a few integers into a set, and removes when I find the same one, after doing this, I need to bring out all the integers that are still inside the set, but I’m…
-
4
votes2
answers76
viewsQ: Find() function of the set library does not return whether or not it found
I’m writing a little program for a college exercise and I’m having second thoughts about find(). I must enter two integer numbers, check if the first number exists within the set previously defined.…