Posts by diogo.alves • 203 points
9 posts
-
1
votes1
answer126
viewsQ: Why am I not getting the content
I have a question when it comes to capturing the element with Dom; Example let paragrafo = document.getElementById('paragrafo').innerHTML; All right so far so good, with this I can see the contents…
javascriptasked diogo.alves 203 -
1
votes1
answer56
viewsQ: How to know if a query has returned true
I am registering users in the system, but I can not know the result of my query in the database I tried to return the value of execute but I was not successful, some solution? Note: I am already…
phpasked diogo.alves 203 -
1
votes2
answers46
viewsQ: Why aren’t the images glued together?
Well I’m making a Carousel, and I want to put another image on the side of the Carousel but it gets a space I wanted to know how to remove, in my attempt I made two Divs float one to the right and…
htmlasked diogo.alves 203 -
2
votes2
answers62
viewsQ: Name not printing
What I wanted was to get the name of the person shows with Alert but I’m not getting My html code var nome = document.getElementById('id1').value; function clique(){ alert(nome); } <input…
-
0
votes1
answer400
viewsQ: How to place the table in a certain position
Well I created a main div and I put a left and right part, and I will make a table of the Brasileirão on the right, and on the left what I will put in the image below My code <!DOCTYPE html>…
-
9
votes2
answers1223
viewsQ: Why don’t you need the `&`in the `scanf();`?
I learned that the variable always has to have &, but in this example you don’t need and still show the result. Why you didn’t need the & in the scanf();? #include <stdio.h> int…
-
0
votes1
answer530
viewsQ: How to split Files in c++
I’m starting my studies in c++, and I’m not able to divide them into different files, if you can help me Master code #include <iostream> #include "Celular.h" using namespace std; int main(int…
c++asked diogo.alves 203 -
-7
votes1
answer141
viewsQ: Problem with URI issue 2144
Enunciation: https://www.urionlinejudge.com.br/judge/pt/problems/view/2144 The code I have: { double direito,esquerdo,repeticao,e,d,m,c=0; while(1) { scanf("%lf %lf…
casked diogo.alves 203 -
2
votes1
answer569
viewsQ: What’s wrong with my code? (URI problem 1805)
I’m trying to solve the 1805 URI issue: A natural number is a non-negative integer (0, 1, 2, 3, 4, 5,...). Your task in this problem is to calculate the sum of the natural numbers that are present…
casked diogo.alves 203