I'm trying to access a position of a associative array which is inside of another array. Here is my array: Array ( [order_data] => stdClass Object
Array is 2 dimensional 10x10 gameBoard Code I made for array: int gameBoardLength = gameBoard.length; System.out.print(" "); //two spaces to align t
How do I create empty array of a type given by reflection? I have tried using the Activator.CreateInstance(Type) method: Type arrayType = typ
Given a structure like this: var node = { children: [] } That is to say: It only has children property. No parent property. No nextSibling property. How to
I have an array of objects that I want to iterate over to produce a new filtered array. But also, I need to filter out some of the objects from the new array de
I am using python to call methods in a shared C++ library. I am having an issue converting a numpy 2D array to a C++ 2D array. I need to enable the following fu
OK, I already got this question in stackoverflow but sadly it's in javascript - Javascript - sort array based on another array and I want it in PHP $data = ar
I have a JSON array of objects that I'm trying to convert to YAML. {"AAPL": [ { "shares": -75.088, "date": "11/27/2015" }, { "shares": 75.08
Quick question. Anyone know how to render an array of components? Trying to make it easier for a developer to alter a particular component. (It's like a dashboa
I am trying to hook into this method in NotificationManagerService using Xposed: void enqueueNotificationInternal(final String pkg, final String opPkg, final i
I have a awkward need but I need to interleave an array with another array before imploding the result. I guess my better option would be less talk more example
I have been getting the: "VirtualizedList: missing keys for items, make sure to specify a key property on an item or provide a custom keyExtractor" pretty c
I am trying to write a class that takes a phone number that the user inputs as a string, then stores each digit in an array. I converted the string to a long us
Im trying to sort an array in ascending order and print it out and Im having trouble of where to put my cout in my code. for (int k=0; k<ARRAY_SIZE; k++) {
I'm trying to solve the problem below from CodeFights. I left my answer in Java after the question. The code works for all the problems, except the last one. Ti
I have a 2D array called char **str (allocated by malloc). Lets say str[0] has the string "hello". How would I print that hex? I tried printf("%d\n", (unsigned
I'm using ajax to submit a multipart form with array, text fields and files. I append each VAR to the main data as so var attachments = document.getElementByI
I have created a multidimensional array in JavaScript and I want to find the exact index of specific value. That value will be user input. var array = []; var k
There's an array say [1,2,4,5,1]. I need to print all the contiguous sub-arrays from this. Input: [1,2,4,5,1] Output: 1 1,2 1,2,4 1,2,4,5 1,2,4,5,1 2
I'd like to copy a numpy 2D array into a third dimension. For example, given the 2D numpy array: import numpy as np arr = np.array([[1, 2], [1, 2]]) # arr.shap