Questions tagged as 'arreglos'

1
answer

Call to undefined method CI_DB_mysqli_result :: fetch_assoc ()

I use codeigniter and I want to traverse an array with a while but it gives me the following error    - > Call to undefined method CI_DB_mysqli_result :: fetch_assoc () while ($row=$mate->fetch_assoc()) { $mcID['mcID'...
asked by 10.07.2017 / 23:40
1
answer

Conflict in windows form program with fixes in C # (Calculated data are not presented)

I am doing a practice for a physical case where it involves a resting object moving on an inclined plane where at the end of the slope the object falls freely, the falling object grabs even speed and travels a distance, asks to calculate the dis...
asked by 22.04.2017 / 02:25
3
answers

How to enter data into an array of objects by a function?

I want to enter a random number generated by a function to an array of objects, the problem is that when I want to enter it, it sends me an error, here the code: (I have a class called "Processes" where are the getters and setters methods) pac...
asked by 18.04.2017 / 20:02
1
answer

Problem with operations of elements in an array

I have a problem trying to show the result of the division of the elements of each row of a two-dimensional array. What you plan to do is: Divide the first element of the row of a two-dimensional array between the second element of the row, a...
asked by 21.12.2016 / 21:20
1
answer

Avoid repeated names in c ++ arrangement

As part of my subject of data structure we have left the following exercise:    Create a data structure that allows to store the data of the total purchases of customers from a warehouse.   You want to store the following information: Number...
asked by 03.09.2017 / 07:26
1
answer

Pass elements from a listbox to a two-dimensional array [closed]

What I want to do is pass the elements stored in a listbox to a two-dimensional array to later calculate centroids, I've tried but I go line by line instead of element by element OpenFileDialog abrir = new OpenFileDialog(); String ruta;...
asked by 11.10.2017 / 03:38