Posts by Kelvin Crepaldi • 41 points
5 posts
-
0
votes1
answer168
viewsQ: Remove repeated elements from a multidimensional vector
I’m making a code to be able to remove duplicate lines from a vector with customer registrations. This vector is "tabela[1000][3]" So I have for example: 1ºlinha - "joao" " rua: asasdfasdfs" "cep:…
javaasked Kelvin Crepaldi 41 -
0
votes0
answers131
viewsQ: Save a frequency table to a file. (Huffman compactor)
Hello, I’m developing a work of Huffman’s algorithm, and I’m having some difficulty working with the frequency table. In short, I need to turn the characters of a text into a frequency table to…
-
2
votes1
answer337
viewsQ: Count rows that have the same value in 2 different columns?
Table ID jogada pontos 1 1 3 1 1 1 2 5 1 2 5 1 2 5 3 2 5 3 I wanted to create a query that COUNTS the playing lines and ADDS the total of points, but that indicates the sum by repeating the "ID"…
-
1
votes0
answers107
viewsQ: How can I expect a response from the user?
Hello, I’m making a game Genius, the one who needs to select the colors in the right order... And I’m having a little trouble with the player’s turn... public void jogadorJoga(){ } In this method I…
javaasked Kelvin Crepaldi 41 -
1
votes1
answer193
viewsQ: What’s that part of the code called?
Let’s say I create a class... public class Teste1 { public void Teste1(){ System.out.println("Olá"); } public void teste2(){ System.out.println("Oi"); } } The Teste1 is the constructor method of the…