Posts by Marcelo Henrique Bittencourt • 315 points
6 posts
-
1
votes2
answers879
viewsA: Pass matrix to C functions
I suggest you use dynamic allocation: #include <stdio.h> #include <stdlib.h> void funcao(int **mat, int num); int main() { int num; scanf("%d", &num); int…
-
0
votes1
answer735
viewsQ: How to select rows in a table?
I am working on a web system and would like to create an interactive table on a page. Above the table, I have 4 buttons and would like to give functionality to them. I would like to be able to…
-
0
votes1
answer1159
viewsQ: Search box in Java
I am creating a Java system using Netbeans. I would like to create a search box that shows the results in a list (of variable size) below the box as the user enters the text to be searched. It would…
-
9
votes1
answer503
viewsQ: Questions about Mysql integration with Java
I am creating a system in Netbeans, using the Java language and the Mysql database. I wrote the following code to make the connection between the program and the database: public class Conexao {…
-
9
votes2
answers119
viewsA: What’s going on in my C program?
You forgot to initialize the vector somalinha zero values. The program is picking up memory junk. Another detail is that you declare a 6x6 matrix, but use a 5x5 matrix in the repeat loop.…
-
1
votes1
answer104
viewsQ: Click Jpanel does not work
I am creating an interface for a system and would like that when the user clicks on a JPanel, open another window. The program is compiled normally, but at the moment I click on JPanel, does not…