Posts by Rrr • 113 points
5 posts
-
1
votes2
answers1443
viewsQ: How to make a nested FOR?
I’m opening two files, one is a text, and the other is a list. I want through nested check how many times each item in the list appears in the text. I did so: arquivo = open('texto.txt', 'r') lista…
-
0
votes1
answer80
viewsQ: How to put a successful Alert into a data insertion via ajax?
I am working on a project in progress and what I need to do on it is put an Alert and refresh the page after entering data in the database. The data are being entered through a spreadsheet, that is,…
-
4
votes2
answers13018
viewsQ: Using Bootstrap for Multiselect Dropdown with Checkbox
I found on this site: (http://www.webslesson.info/2017/05/bootstrap-multi-select-dropdown-with-checkboxes-using-jquery-in-php.html) a code that he uses Bootstrap to help create a multiselectable…
-
-2
votes1
answer1127
viewsQ: How to fill an Arraylist with values of another Arraylist caught randomly?
I have the class Vetor which will have a method to start an array with random numbers: public class Vetor{ private int tamanho; private int[] vetor; public Vetor(int tamanho) { this.tamanho =…
-
3
votes1
answer4789
viewsQ: Pass vector by reference or value?
I want to create two functions, one is to fill a vector with random numbers. The other function is to show the contents of the filled vector. So I did it this way: #include <stdio.h> #include…