Posts by SidSan • 118 points
13 posts
-
0
votes2
answers264
viewsA: Quiz that changes section depending on the answer
You can use the visibility properties. For example: document.getElementById("myP").style.visibility = "hidden";
-
-1
votes2
answers387
viewsA: Error when trying to commit to github
The terminal makes it clear, git hasn’t tracked any changes when comparing its repository to the remote repository. You can give a git status to make sure that the data were even modified. You can…
-
-4
votes2
answers349
viewsA: How to center html blocks and keep them even after zooming in the page
In CSS, for the body page, put like this: body { display: flex; justify-content: center; } in the tag body put is just do the msm procedure you did to set the red background…
-
-1
votes3
answers62
viewsA: When displaying the site on mobile, the input with Submit defaults. How to solve ? I am using bootstrap 4
in the tag where the input is inserted you can insert flex-nowrap that the problem is solved. Watch tbm for the size of the columns and even margin that may be too large for the necessary to handle…
bootstrap-4answered SidSan 118 -
3
votes1
answer76
viewsQ: Why doesn’t the matrix print out all the typed values?
#include <stdio.h> #include <stdlib.h> #include <locale.h> int main() { setlocale(LC_ALL, "Portuguese"); int linha=0, coluna=0, i, j, l, m; int matriz_A[linha][coluna],…
-
0
votes1
answer180
viewsQ: Implement Save As and Save in C#
You know that basic difference between salvage and the save as of the text editors? So, I’m wanting to put in my application only the option "save", however, after searching a lot on the net only…
-
0
votes0
answers27
viewsQ: Problems with Savedialog and Windows Forms output function
Guys, here’s the deal: I’m making a notepad in C# for educational purposes and I come across a mistake I haven’t been able to see for two days. Whenever I will save a txt file it opens the window…
-
-2
votes5
answers146
viewsA: Is there a disadvantage or is it harmful to use null types?
I used to use nulls in C# and I confess that is not a good idea. Almost always the code did not work in the right way. I suggest using something like: !string or else: nullables or else…
-
2
votes1
answer265
viewsQ: Compute square root with input from typed text
I’m not getting the calculator to take the root of a number that the user types. The most I got was what is in the code, but regardless of the screen value, it only returns the root value of 2…
-
0
votes2
answers72
viewsQ: C program does not read values in txt file
Guys, I’m back again. I applied some changes that the members here suggested in another post, but the values are still not read correctly. Now gives up to integer values (before DOS printed negative…
-
0
votes2
answers820
viewsQ: C program does not correctly read a . txt file with integer numbers
I’m with this C code where the goal is to read 25 whole numbers of a text file and store them in a 5 by 5 array. The problem is that when running on MS-DOS, the program prints only junk from memory.…
-
1
votes1
answer242
viewsQ: C# calculator and keyboard interaction
Guys, here’s what I’m doing: I’m doing a C# and I wanted to put in a root calculus. The problem is that the calculation is only done with the value I put in the variable first. I can not put this…
-
-1
votes2
answers190
viewsQ: Keyboard events in C# in textbox
Hi, guys, I’m new to C#. Well, for teaching purposes, I’m developing this calculator that you see in the image. It is almost ready, however, it only lacks the function of when I type a number of the…