Posts by João Dutra • 92 points
8 posts
-
-1
votes1
answer1221
viewsQ: Error with Map<String, Dynamic> - Cannot recognize String as Dynamic
I have the following Flutter error: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'String' This error is occurring when I have run the code seginte: List…
-
0
votes3
answers572
viewsA: How to map an entity with a composite key using JPA?
I use it exactly like this and it works. @Entity @Table(name = "USUARIO_CARGO") public class usuario_Cargo implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY)…
-
0
votes2
answers44
viewsA: How can I check if two values of two matrices are in the same position?
See if that’s what you want: username = ['pedro', 'marcos', 'ana', 'michael', 'tomas'] key = ['pedro12', 'markos', 'anaconda', 'jackson', 'toma'] user = str(input("Digite seu username: ")) if user…
-
2
votes1
answer821
viewsA: Image overlay in Tkinter
Good morning buddy! I solved your problem here in a very simple way: I used only one label and when the button is clicked, I simply changed the property file label: head['file'] = "rosto1.png"…
-
0
votes1
answer157
viewsA: Chained list in C-add!
Try to use: (*(*here)).next == NULL Instead of using: (*here)->next == NULL
canswered João Dutra 92 -
-1
votes3
answers4203
viewsA: Generating random numbers C++
Always set function srand() before function Rand(). What do you call the Rand() in void Supermercado::geraTempoProximoCliente() Then put the srand() before the code int intervaloProximoCliente =…
c++answered João Dutra 92 -
0
votes2
answers2623
viewsA: Square Root in C
As said above, just take out the spaces before closing the quotes from the scanf Follow the code working: #include <stdio.h> #include <stdlib.h> #include <math.h> int main() {…
canswered João Dutra 92 -
3
votes1
answer312
viewsA: String help
Hello, I did the program and it’s working perfectly, see if it fits you: #include <stdio.h> #include <stdlib.h> int main() { //Declara o vetor de char com todos os seus números char…