Posts by Vitor Subhi • 1,018 points
13 posts
-
4
votes1
answer417
viewsA: css background-image: url(''); can’t find my image’s local path
When using /home/meu-user/Desktop/woods.png, he’s actually searching the sub-folder /home/meu-user/Desktop/woods.png of your project. Suppose your project directory is /home/meu-user/projeto, in…
-
1
votes4
answers744
viewsA: How to get the highest and lowest number among 15 typed numbers? C++
Define two control variables of type float, being them maior and menor. After reading the attribute numero make the following validation: //Verifica se é o primeiro número digitado e define o valor…
-
4
votes1
answer66
viewsA: Visualg G Algorithm
You will need to make a condition preventing you to execute the rest of the code block, for that you will need to set the variable nome of the kind literal, since it is a String, and then you check…
-
2
votes1
answer33
viewsA: Graph is generated but does not show data, matplotlib
In accordance with documentation of Matplotlib, the representation of a graph based on date and value, is possible through the use of two Arrays, example: datas = ['01/02', '02/02', '03/02'] mortes…
pythonanswered Vitor Subhi 1,018 -
2
votes2
answers474
viewsA: Turn an image into a HTML5/CSS3 Submit button
When using the type image as follows, it will already be by default submit: <input type="image" src="/image.png" border="0" alt="Submit"/> Complete code in HTML: <form method="post"…
-
3
votes1
answer318
viewsQ: How do I update all files from a GIT repository except one specific one?
Using git, you can create the file .gitignore, not to send specific files during the git push origin. I would like to perform the reverse, upload all files except one specific file. I checked the…
gitasked Vitor Subhi 1,018 -
6
votes2
answers3663
viewsA: How to put different texts for "yes" and "no" in Visualg?
You can use a variable X of the literal type (text) var N1,S,S2,S3: inteiro X: literal Read X, assigning a value: Escreval ("Você ja fez aniversario esse ano?") Leia(X) Check whether X, is equal to…
-
5
votes1
answer382
viewsA: Method to pause the countdown
Just create a boolean type variable (bool) pausado, initially with value assigned as false. Add to Button Pause, to define the variable pausado as true. Set the Button Play, to define the variable…
androidanswered Vitor Subhi 1,018 -
5
votes1
answer63
viewsA: Error in user registration, changing user instead insert
From what I understand, he is registering normally, but after editing any registration, he does not register again, he just edits the previous registration, if that is, follows the solution: In the…
-
5
votes1
answer174
viewsA: Duplicate in a database
Definition of Duplicate: Any object, written etc. of representation or function identical to that of another; copying, copying. - Google I believe you are referring to tuples, starting from your…
databaseanswered Vitor Subhi 1,018 -
7
votes2
answers799
viewsA: Relationship Doubts in Mysql Workbench
You are setting the column Pessoa_idPessoa table Funcionario, as Primary key, just remove it and redo the interface to solve your problem.…
mysql-workbenchanswered Vitor Subhi 1,018 -
12
votes2
answers5293
viewsQ: What is an Iterator?
Studying the STL in C++, I almost always come across the term iterator, example: std::vector<int>::iterator it; What is the function of a iterator?…
-
7
votes1
answer131
viewsQ: How to dynamically insert into an Std::array?
I’m migrating from C to C++ language, and I want to stop using traditional C language means, like the C vector. It is possible using the std::array insert elements dynamically as in std::vector?…