Questions tagged as 'array'

0
answers

How to separate array by columns

Good evening! I would like to ask your help in the following ... I need to read a txt, which contains information from a client x ... I'm not sure what to do, I need to separate this data and save it to a database ... I have been ab...
asked by 25.07.2018 / 07:10
1
answer

Looking for an item in the XML file in php

I have an xml file, and I would like to bring to the page only one item of this file, in case I can bring all the items of one only through the code <?php $feed = file_get_contents('https://brasil.elpais.com/rss/brasil/portada_completo....
asked by 11.07.2018 / 20:17
0
answers

How to extract a word between, e =?

Assuming I have a word: char[1000]={"ALGUMA COISA,ALGO=TESTE,FIM"}; The word before = and itself = are optional in the sentence; How do I store the word SOMETHING in a variable? The code below is what I tried, but it is not wo...
asked by 08.07.2018 / 16:47
1
answer

Mean between vectors within functions (python)

Good afternoon guys, I have the following code: def Ler_vetor(): VET= []*10 for i in range(0,10): VET.append(int(input('Digite um número: '))) return VET def Escreva_vetor(VET): print('Dentro do vetor (permutado) tem:',VET) def Somar_vet...
asked by 04.07.2018 / 17:09
0
answers

Separate javascript object into groups with 4 items in the click event!

Personal how do I split a javascript object into groups with 4 items each? follows an example of how the array or object should stay, but I would like to know how I can create a function so that when the user clicks a button, 4 of those items ar...
asked by 06.07.2018 / 03:50
1
answer

Angular 5, Map an array of Objects within another array of Objects

Well I'm trying to encapsulate my objects. The first object it maps to the first JSON array. export interface PraticarObject { id_assunto: number; nome_assunto: string; qt_exercicios_concluidos: string; conteudos: ConteudosPra...
asked by 27.06.2018 / 20:50
0
answers

How to return a dynamically allocated two-dimensional array?

In a generic formulation, I have a function that places a value in an array of strings; just as an example: char **matrizExemplo() { char **vet; char tamVetor = 1; vet = malloc(sizeof(char*)*tamVetor); vet[0] = malloc(sizeof(c...
asked by 26.06.2018 / 17:29
0
answers

Excel VBA with Array's slow taratar data

I am developing a code to be applied in excel that summarizes the number of defects in a summary table. The data is imported from an xml file, which is opened by excel and created the "layout" by it. As it is the first time I work with array's a...
asked by 25.06.2018 / 03:23
0
answers

How to get a data in a PHP cell

So, I need to get the cell value of the time in foreach, but since the vector was re-organized with asort () , I do not know how to get this value. If I put $ vector_Distance [0] , it would take the first cell (after it is organized), but cell...
asked by 23.06.2018 / 01:15
1
answer

I can not go to Page

Hello, here I am with one more question. I created a project on ionic 3, and I have this profile menu , but when I click on each menu item, (Cultural Agenda, by region, blog ..) does not open the page, it is giving error. In app.html it has: '...
asked by 03.07.2018 / 22:24