I'm trying to organize a multidimensional array (just one) so that a child array always looks like your parent's "children", given your id.
If there are duplicates, it should join (so that only one is left).
I have tried to mix functions l...
I need to traverse the entire multidimensional array with each and list only. Here is the code:
$Carros = array(
array("BMW", 130000, "Novo"),
array("Strada", 40000, "Usado"),
array("CRUZE", 100000, "Semi-novo")
);...
I need a constructor for a class that has char vectors as attributes, like this:
class Anthem {
private:
int Id;
char Name[50];
char Country[50];
int Year;
char Composer[30];
char Historic[20...
In a list of books within a% multidimensional%, every array has a different column category , I would like to search this sub_array for a category > for example:
Array "livros"
(
[Livro 1] => Array...
My question is this: I have this jquery code where I capture all the questions of a test and just below the alternatives of it; but I can not relate the alternatives to the questions, someone can help me, I tried everything I think.
follows h...
I would like to get the value of the second array index "game [0] [1] = [" 1 "," 15/06 "," 09:00 "," Egypt ", I have to skip to the next game (next line) until I find a game that hits the condition of my if ...
var atualizacao="10/05/2018 17:0...
I have a List that contains objects of the type of ProductBuy.
My question is the following, I need to go through the ArrayList of this class and generate a new array with the total payable per vendor report, that is, I have to keep the vendo...
I'm making a very basic JavaScript registration code.
However, after I register my data and store it inside the vector and display it, the data is duplicated.
If I type Code: 1 Name: 1 and Author 1, it shows 3 times the code, 3 times the n...
Hello, I'm learning python, I saw the basics and I'm in a problem where I need to do operations between arrays. I have, for example, two arrays of equal size D. For each index I in the array, I want to make the difference between the two i-th el...