Posts by Alexandre Guerreiro • 393 points
15 posts
-
2
votes1
answer57
viewsA: How to build a leaderboard?
Declare an integer variable before the foreach, and inside it increment it. Then use the variable in the html code next to each printed line. Example: <table> <tr> <td align="center"…
-
1
votes1
answer56
viewsA: Subroutine in C does not execute
I ran his program through Codeblocks and he pointed out a series of warnings that needed to be addressed. Let’s list 1 to 1 so you can fix your code and run your program: |6|Warning: Passing…
canswered Alexandre Guerreiro 393 -
1
votes1
answer56
viewsA: Problems with the <string. h> library
Come on, buddy. I’m in college, too, and I understand your euphoria, but a tip from someone who’s already been hit in life: be specific. Blaming the <string. h> library for the error in your…
-
1
votes1
answer268
viewsA: jEnv alternatives for Windows
Excellent alternative is the SDKMAN. With a few minutes of reading Voce will be able to use it in windows. OFFICIAL SDKMAN PAGE Windows tool that needs to be installed before SDKMAN:…
-
0
votes2
answers758
viewsA: Doubt in c (chained and vector lists)
According to the IME-SP, a chained list means: Chain lists. A chained list is a representation of a sequence of objects, all of the same type, in the RAM (= Random access memory) of the computer.…
canswered Alexandre Guerreiro 393 -
4
votes1
answer54
viewsA: Hands with variable float and char
As colleague @anonimo commented, the error in your code is in declaring the types of pointers. If Voce has a variable y of the float type, Voce needs to create a float pointer. The same thing…
-
-1
votes1
answer691
viewsQ: The program does not return to the menu after the function call in C
I created 2 functions, a menu function and another incluirRegistroDeObras which can be enabled by the menu. However. By enabling the incluirRegistroDeObras, i can perform the function, but at the…
casked Alexandre Guerreiro 393 -
0
votes1
answer273
viewsQ: Equals and Hashcode
Hello! I have a conceptual question. I have a method readDao(table) within the Object (access to the database) that returns a Hashset called resultRead with all objects in the database of that…
-
0
votes1
answer898
viewsQ: Create a Java WEB application that also runs via desktop
Good night to you all. I’m thinking of developing an application with the following features: Backend: Java Frontend(Option 1): Javafx Frontend(Option 2): HTML5 + CSS3 I want to start the right way,…
-
0
votes1
answer50
viewsA: SSL failure on GET request with Httpbuilder Groovy
There is a topic that treats your case well. I translated by google and am providing the link below:…
-
2
votes1
answer243
viewsA: Remote debugging in isolated environments
My suggestion to you is the following: 1) Install Eclipse on a local station (internet server, auxiliary server or on the client’s own station.) 2) For the above procedure and remote connection to…
-
0
votes0
answers98
viewsQ: Ordering a Sortedmap by object attribute
Good afternoon fellow programmers on duty. I am developing an application that creates a formulery through the information contained in a tabulato.txt file. I managed to develop the whole routine of…
javaasked Alexandre Guerreiro 393 -
1
votes0
answers37
viewsQ: Scanner returning error
I’m writing the code below: public int findNet(String InputRede) { try { for (GetNetwork network : getRedes()) { if (network.getId().equals(InputRede)) { return getRedes().indexOf(network); } } }…
-
1
votes1
answer84
viewsA: Error reading if. arff file exists or not
Friend, your code is not allowed to access the file. Add the following lines below the reference variable dc: dc.setReadable(Boolean.FALSE); dc.setWritable(Boolean.FALSE);…
javaanswered Alexandre Guerreiro 393 -
0
votes1
answer62
viewsQ: Null.point.Exception when executing another class method
I’m running this code: execution class package aloiexecv2; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; /** * * @author root */ public class…