Top "Multidimensional-array" questions

Multidimensional-arrays can be described as multi-dimensional tables.

A pointer to 2d array

I have a question about a pointer to 2d array. If an array is something like int a[2][3]; then, is …

c++ arrays pointers multidimensional-array
Sorting a php array of arrays by custom order

I have an array of arrays: Array ( [0] => Array ( [id] = 7867867, [title] = 'Some Title'), [1] => Array ( [id] = 3452342, [title] = 'Some Title'), [2] => …

php arrays multidimensional-array sorting
Convert php array to csv string

I have several method to transform php array to csv string both from stackoverflow and google. But I am in …

php csv multidimensional-array phone-number
Two Dimensional Array Implementation Using Double Pointer

Please consider the following code: #include <stdio.h> #include <stdlib.h> #define NUM_ARRAYS 4 #define NUM_…

c multidimensional-array double-pointer
2D arrays using NSMutableArray

I need to create a mutable two-dimensional array in Objective-C. For example I have: NSMutableArray *sections; NSMutableArray *rows; Each item …

objective-c cocoa cocoa-touch multidimensional-array nsmutablearray
How to group a multidimensional array by a particular subarray value?

I have a multidimensional array and am trying to group them according to the value in a specific column. I'm …

php arrays multidimensional-array grouping
Convert CSV file into array of hashes

I have a csv file, some hockey stats, for example: 09.09.2008,1,HC Vitkovice Steel,BK Mlada Boleslav,1:0 (PP) 09.09.2008,1,HC Lasselsberger Plzen,…

ruby csv multidimensional-array
Swap rows with columns (transposition) of a matrix in javascript

For instance I have a matrix like this: |1 2 3| |4 5 6| |7 8 9| and I need it to convert into a matrix like this: |1 4 7| |2 5 8| |3 6 9| What …

javascript matrix multidimensional-array swap
Querying an array of arrays in MongoDB

Say, I have a document like this.. "ID" : "fruit1", "Keys" : [["apple", "carrot", "banana"]] How do I query for Keys = "carrot". …

mongodb multidimensional-array
Checking for a numerical index in a javascript array

I'm receiving json data that is aggregated by numerical indexes. When I'm in my forloop, for example, the index might …

javascript arrays multidimensional-array numeric