Posts by José Santos • 25 points
5 posts
-
0
votes1
answer99
viewsA: How to auto fill a column based on another column’s value? MYSQL
Join gets the result I wanted, returning the values related by the foreign key in two different tables
-
-2
votes1
answer99
viewsQ: How to auto fill a column based on another column’s value? MYSQL
I have a table of users where have the columns: id_usuario, name, id_company among others. And I have another table where I save other information of this user, and I also have the columns name and…
-
0
votes4
answers118
viewsA: How to reference a JS item from a DOM element
I got the effect I wanted with the following code: const app = document.getElementById("app"); const tarefas = ["tarefa1", "tarefa2", "tarefa3"]; app.innerHTML = ` <h1>Hello…
javascriptanswered José Santos 25 -
0
votes4
answers118
viewsQ: How to reference a JS item from a DOM element
I am making a To from the List using MVC, I have an array that saves the tasks added by the user and from this array I create elements in DOM. Can I reference the specific item of the array from a…
javascriptasked José Santos 25 -
2
votes1
answer161
viewsQ: How to accurately measure the run time of a function in C++
I am doing a college job and need to measure the run time of a recursive function, but when I do the measurement in nanoseconds most of my data comes back zeroed. Is there any way to do a more…