Posts by Roger • 217 points
12 posts
-
0
votes1
answer59
viewsQ: How to replace one layout with another in Qhboxlayout?
I created two Qgridlayout, with 16 buttons each, numbered from 1 to 32. I stored the two Qgridlayout in a list (one at each list position). This list is inserted into a Qhboxlayout to display the…
-
0
votes1
answer546
viewsQ: SQLITE query returning value outside of query rule
I made a program, in python language, that creates a database SQLITE which stores information about a number of closet doors. The information stored are: id (port identification), size (PQ = small,…
-
-1
votes1
answer94
viewsQ: Problem aligning buttons with image, in a widget, using pyqt5 graphical library
I am trying to create a screen with a background image and two buttons (ok and Cancel) with press/drop effect using the graphical library pyqt5, of the programming language python, however, I have…
-
1
votes1
answer103
viewsQ: Doubt about past information on SOAP
I am researching the operation and use of the SOAP protocol, but I came across some doubts in the structural part of the protocol. I’ve been working on low-level language programming for…
-
2
votes1
answer105
viewsA: How to send a dynamically created matrix as a parameter to a function?
In C, in the function argument, you need to tell the compiler how many columns you have in your matrix, due to the fact that the matrix is nothing more than a vector, but with a row and column…
-
1
votes2
answers1025
viewsQ: How to download a compressed file from a URL and save to disk?
I made a java program to download a compressed (zip) file from a server from a URL (in this case, I am using localhost to test), but it is giving the following error: Exception in thread "main"…
-
0
votes1
answer127
viewsQ: Errors when compiling program using Mysql resources
I’m learning to use the Mysql, but I had some problems compiling a program, in C, using the resources of Mysql. Follows errors below: gcc: error: Usage:: No such file or directory gcc: error:…
-
1
votes1
answer61
viewsA: What is the difference between these two means of obtaining the Packagename?
In case 1 FindClass will take the class reference from her name, that is, for you to get the class reference you must know her name and her full signature. Class example String: Name String Full…
-
3
votes2
answers886
viewsA: pointer casting
First you must understand what types (int, char, long, etc.) has a size set by the platform, some keeps its size on all platforms, as in the case of type char of 8 bits. Pointers point to memory…
-
5
votes4
answers1605
viewsQ: Turn Messagedigest MD5 into a string
I am trying to generate an MD5 hash using the class MessageDigest, however, I cannot correctly display the hash as a string on the screen. The result is a string of unknown characters. Below is the…
-
0
votes1
answer148
viewsA: Do not wrinkle data in the queue
I couldn’t run your code, but I think the compilation problem is because you created a struct and made it a "type", for variables, using the definition typedef, however, when declaring a variable…
-
3
votes1
answer113
viewsQ: Life of threads in java
When an object, from a class that implements a thread, is destroyed (loses reference) the thread referring to that object will stop?