Questions tagged as 'array'

1
answer

How to find the largest and smallest number in a 2-dimensional array of 6x7?

   for each row of the two-dimensional array that prints the largest number and for each column the smallest number <?php $array=array("uno"=>array("1"=>rand(1,300), "2"=>rand(1,300),...
asked by 09.10.2018 / 05:24
2
answers

error: passing argument 1 of 'count_elements' makes pointer from integer without a cast [-Wint-conversion]

I have a program that aims to calculate the number of elements that an array has. For that the arrangement enters a feature count_elements that counts the number of items and returns the total. The issue is that when I try to show the content of...
asked by 07.10.2018 / 16:33
0
answers

Create array according to the first letter

Hello community I have a array ordered ALPHABETICALLY but if the name is repeated twice jose - jose create a% new array with key of J ie array with the first letters of each name if it is repeated, that name...
asked by 04.10.2018 / 16:40
0
answers

Convert Xamarin.Forms.ImageSource to byte []

I need to convert an image (Xamarin.Forms.ImageSource) to an array of bytes to insert it into a database. Thanks for your help.     
asked by 01.10.2018 / 13:06
0
answers

How to delete an array of objects that correspond to a checkbox?

Good morning. Attached an image of how is the functionality. For example, for this case, I have selected the first checkbox, this executes a function that displays the table that says You can choose from this list 1 , by clicking "+" in any of...
asked by 28.09.2018 / 17:24
0
answers

Fixing Java Bytes

in advance thank you for your attention, I want to convert a url in the default I have hosted the photos of several users in an array of bytes and then that photo lodge it in my report of biographical data sheet per user.     
asked by 28.09.2018 / 02:07
0
answers

Problem with Arrays (student)

I am a student and I can not make this code work. I think the problem comes with the handling of Arrays but I can not find out why it does not work. public class A1IntroduirDNI { static int MAXDNI = 10; String[] dniLista = new String...
asked by 27.09.2018 / 18:38
0
answers

Create an array within another array for each different return

Maybe the title of my question is wrong, but I am commenting, I am working with PHP 7, I want to create an array within another array, but according to certain parameters, this is the code I have at this moment: $RETORNO = []; for($j=...
asked by 27.09.2018 / 03:17
0
answers

Add a path to the name of an array

How can I add a path to a name that is stored in an array? My arrangement is as follows:    Array ([Archive] = > Array ([0] => Online Catalog [1] = >    link )   [System Administration] = > Array ([0] => Areas and Axes [1] = >   ...
asked by 25.09.2018 / 17:35
0
answers

How to share image from an imageSwitcher?

The App what it does is show images by pressing forward or backward buttons. I need help with this, I would like to be able to share the image that is seen in that moment in the ImageSwitcher. public class MainActivity extends AppCompatActi...
asked by 29.09.2018 / 05:20