I'm using push in a request to put new element in a list, but I noticed that push puts the last result down. I want to reverse this.
I'm using v-for to list, but I believe the "fix" will be in the same push ... follow the code:
dados.ret...
I have array with the workgroups that the session user belongs to, for example if I write like this:
return $data.teste02[0].group_id.name
It returns me the first group that this user belongs to, which in this case would be administ...
I'm having problems on the results page, others are working correctly, the purpose is to print the approval or disapproval of the students in the table using foreach in PHP.
Error:
Warning: Invalid argument supplied for foreach...
My teacher has posed this problem and I am not able to sort in ascending order just by using a loop to sort.
#include<stdio.h>
main(){
int i,a[5]={1,4,8,9,11},b[5]={3,6,7,10,15},c[10];
for(i=0;i<10;i++){
if(a[i]<...
scoreBoard.push({
acertosOuErros: acertoOuErro,
multiplicacao: resultado
});
This is my array made in javascript, I wanted to pass this array of objects to another page so I would ha...
I'm trying to store an array of ints to use periostealmente, but I came across a syntax error in the part. { 4, 7, 8, 9, 10 }
private Int32[] m_FluxosPlataformas = null;
public Int32[] FluxosPlataformas
{
get...
I need help to solve the following programming logic problem in Swift.
The task is to organize the array below in descending order using a function.
Description:
You must implement an algorithm that receives a list of strings with specific...
I'm trying to do an exercise where I have to create a array inside a function, and the same be accessed through an external code (example: ... php? pais = uk and show UK - London ).
The array items are countries and capitals, eg...
What is the right way to allocate memory for an array vector?
struct CARRO{
int id;
char fabricante[MAX];
char modelo[MAX];
int ano;
char cor[MAX];
int preco;
};
int main(){
int qtd, i;
scanf("%d", &qtd);...