Posts by Higor Maia Concessa • 161 points
5 posts
-
0
votes2
answers411
viewsA: Problem with push and pull on github
This is due to a discontinuation of some cryptographic patterns, being part of the encryption used in data traffic by obsolete protocols. If updating the git version (most recommended) doesn’t solve…
-
0
votes1
answer36
viewsA: How can I check with `if` if the word typed is equal to some word in a list of strings in C?
I suggest setting a size for your char * strings[] and use strcmp to compare strings instead of ==. See the example below, and compare using strcmp has a loop for to scroll through the array and a…
canswered Higor Maia Concessa 161 -
0
votes2
answers3414
viewsA: How to count the number of times a number or more repeats within a vector in c?
A hint, use the size of the vector in a variable or calculate it! Avoid using "hard coded" numbers, so if you change the size of it, you have to change in several places, making it difficult to…
canswered Higor Maia Concessa 161 -
2
votes2
answers47
viewsA: How does the get() method work?
A method get() usually aims to obtain a value, an object or even a class. Then take a look at polymorphism and encapsulation. Trying to make it clear, from your example: The method getPlayer()…
javaanswered Higor Maia Concessa 161 -
0
votes1
answer25
viewsA: Code issues for a lap counter on a line-follower robot on the Arduino
See the example below, made based on yours. I added a variable deveAndar, in which she is true while the robot must move. It becomes false from the moment the exercise condition takes place. For…