Posts by carlos henrique • 36 points
7 posts
-
0
votes1
answer56
viewsA: What is the reason for using "super()" before creating daughter class variables?
In short, technically: When a regular function is executed with new, she creates a object empty and assigns it to this. But when a derivative constructor (Inherited) runs, it does not does it. He…
-
0
votes1
answer651
viewsQ: Method error The GET method is not supported for this route. Supported methods: POST
I already looked at the gringo stackoverflow and nothing. I tried to add @csrf and all the other solutions presented as clearing the route for example. What happens is that the error persists. Web…
-
0
votes1
answer144
viewsA: C - Array of indeterminate size
1- Since the vector has no given size, use the malloc() or calloc function(). 2- You can read and sort the vector. But you can also read and then sort the vector. Some algorithms are: Bubble Sort…
canswered carlos henrique 36 -
-1
votes2
answers78
viewsA: Doubt [MEDIA PROBLEM]
Using gcc was normal here. I also think in the comparison if you can invert to facilitate understanding. Where if( (media/N) < values[i] ) is read if( values[i] > (media/N) ) .
canswered carlos henrique 36 -
1
votes1
answer593
viewsA: How do you git pull all branches?
I believe that you should merge them into one branch and then send this one to the repository. I may be talking nonsense so run a test on a copy first. Example :…
gitanswered carlos henrique 36 -
1
votes3
answers919
viewsA: GIT: I can’t send my files to Github
From what I understand you have to add the remote repository. On this site teaches how to do https://git-scm.com/book/pt-br/v2/Fundamentos-de-Git-Working-with-Remotes. Test with the command "git…
-
0
votes1
answer35
viewsQ: Why is my cancelAnimationFrame() not working in Javascript?
window.onload = function(){ class Objeto{ constructor(){ this.x = 10; this.y = 10; this.velY = 2; } dObjeto(){ ctx.beginPath(); …
javascriptasked carlos henrique 36