Posts by J.Carvalho • 74 points
6 posts
-
1
votes0
answers220
viewsQ: Online repository, commit history problem
I’m working on a project where I currently have 3 branches as well as their respective merges to the master. The problem is that when I request a push of master to the online repository the number…
-
1
votes1
answer64
viewsQ: Doubt about iteration with multiple parameters
This loop performs Log_base_2 of an integer value, at the end the result is available in the variable i. Why make a shift in the form valor >> 1 has no effect compared to valor = valor…
-
0
votes1
answer164
viewsQ: Why is there so much talk about security in targeted programming?
I program in C and now I decided to explore the world of POO through the C#language. I see that many people talk about security and this is precisely my doubt, when programming I see that the…
-
-1
votes3
answers582
viewsA: How to dynamically increase struct size?
Your struct statement is incorrect, the correct form would be: typedef struct myStruct{ //myStruct é o nome da struct declarada The safest way to dynamically increase items within a struct is to…
-
2
votes1
answer152
viewsA: problem with file reading/data sorting in c
There are some errors in your code. -> Read entire file. -> Inappropriate use of pointers. -> Incorrect dynamic allocation. char **listaNomes should only be a pointer to pointer if it is to…
canswered J.Carvalho 74 -
1
votes1
answer1337
viewsA: Character stack
Hello! Well, I didn’t read your code completely, so I figured I’d just pass my eye and go right to where you said the problem was. You said that it is not solving potentials, to use a variable in an…