An array is an ordered data structure consisting of a collection of elements (values or variables), each identified by one (single dimensional array, or vector) or multiple indexes.

learn more… | top users | synonyms (2)

1
vote
0answers
4 views

insert element in adjustable array in Lisp

First of all, I work with LispWorks. I have an adjustable array where I want to insert an element in position i < fill-pointer, so I will need to move all the elements from i to its position + 1. ...
0
votes
0answers
5 views

How to add items to Mongo array using Jongo?

I'm using Jongo to query mongodb. The problem is that when I try to add items to an array field I get the error that says HTTP Status 500 - Request processing failed; nested exception is ...
-3
votes
5answers
36 views

Searching id in an array

I need to search an array and print the matched value. For which my array would be: $my_values = array( '' => '---', '12' => 'Bungalows', '43' => 'Character property', '277' => 'Guest ...
1
vote
1answer
14 views

parsing urls from a text file to bash shell array

i have a text file with many urls www.example1.com www.example2.com www.example3.com www.example4.com How would i go about iterating through it, and parsing each url into an array instance.. i.e. ...
-7
votes
0answers
30 views

c# Form Button array button [closed]

'm new to c #. I'm with a doubt. How do I click a button to "new button" has to show a message to insert the name of the new button on panel. I am lost in the logic of how to do this. If anyone ...
-2
votes
0answers
64 views

Constructing a Divide and Conquer Algorithm [closed]

I don't know what is the relation between m and n? I'm thinking of using something similar to the Merge Sort algorithm. So the recurrence running time of Merge Sort is T(n) = 2T(n/2) + n. So, how to I ...
1
vote
1answer
12 views

Issue to randomize the content of an Array type

I've got this code to randomize the content of an string array: Public Function Randomize_Array(ByVal array() As String) As Array Return array.OrderBy(Function() Array_randomizer.Next).ToArray ...
0
votes
1answer
24 views

php array_rand function with foreach

This code picks 2-6 pitches from the $vec array. I'd like to echo out each individual pitch, but interestingly enough, it gives me the numeric values of the placement of the pitch in the array (ie: 2 ...
2
votes
1answer
23 views

How to make a generic function to join arrays?

I want to convert this into a generic function: Dim NewArray As String() = {"a", "b", "c"} MsgBox(String.Join(vbNewLine, NewArray)) This is what I've tried: Private Sub Form1_Load(sender As ...
0
votes
2answers
47 views

Getline ignoring first character of input

I'm just starting with arrays in C++ and I'm having a problem getting the first character of an array. This is my code, 1- I enter a name, such as "Jim" char name[30]; cin.ignore(); ...
0
votes
2answers
28 views

How do I force parsing an XML node as hash array?

This is my simplified myXML: <?xml version="1.0" encoding="utf-8"?> <ShipmentRequest> <Message> <MemberId>A00000001</MemberId> ...
-1
votes
2answers
47 views

How I can Join this Array in a fast way?

How I can Join this Array in a fast way?: Dim NewArray As Array = {"a", "b", "c"} MsgBox(String.Join(vbNewLine, NewArray)) ' Result: System.String[] the problem is I can't print the content of the ...
0
votes
1answer
11 views

php associative array error

Please can someone tell me what I am doing wrong here because it is giving me a blank result. just a newbie wanting to learn. $months = "2"; $month = ...
0
votes
4answers
34 views

integer pointer is not working while assigning two dimensional array via another pointer?

I was trying to copy the contents of one 2d array to another using pointers. I wrote this simple test program but it shows me segmentation fault but i still cannot find a rock solid reason why? ...
0
votes
0answers
12 views

Store Data for use later in app xcode 4.5 storyboard

I am a new developer as far as xcode is concerned. My Question: What is the best way to store data for use later in that applications session? I keep seeing SQLite but I am not sure if that is the ...

1 2 3 4 5 3606
15 30 50 per page