Posts by Bruno Vasconcelos • 81 points
8 posts
-
2
votes1
answer41
viewsA: Problem to enter Switch
When you enter the third note, the variable i receives the value of enter ( n) that is in the keyboard buffer. You can solve 3 ways: The first is to put a space before %c, because it would only read…
-
1
votes1
answer421
viewsA: Defining an abstract attribute in a non-extabstracted class
If the intention is to prevent setSalario() you can put the setSalario method as private and call it next to the setCargo method() Example public class Funcionario{ private float salario; private…
-
0
votes1
answer309
viewsA: Bootstrap split cells with same spacing
You can customize your bootstrap and download it the way you want by Bootstrap website: https://getbootstrap.com/docs/3.3/customize/ In your case just go to the Grid System part and change…
-
0
votes1
answer219
viewsA: Logic error with MOD (%)
In varaux you declared as integer, so it only stores an integer number. Doing the operation varaux = vetorB[i] / 10; varaux will receive the value of vector B[i] divided by 10 rounded down. In the…
-
2
votes1
answer55
viewsA: Do not specify the path to a batch file
Try using %userprofile% instead of user example: %userprofile%\Desktop It will directly access the user, regardless of which.
-
0
votes2
answers151
viewsA: Problems with bootstrap grid system
I tested here on my computer. As your bootstrap is local I had to add in the head that line to apply: <link rel="stylesheet"…
-
0
votes1
answer786
viewsA: How to leave the width of the last TR of the bootstrap table size?
Hi, you made the whole table with 4 cells in each row. What you can do is concatenate the 4 cells at the end with the colspan="number of cells" (which in your case is 4) <div class="row">…
-
-1
votes2
answers47
viewsA: Struct array accepting more than defined, what’s wrong?
It’s kind of normal. Because you put the person vector as global, then it allows you to go around allocating space infinitely and gives plenty of room for things to get out of hand. You can fix this…