Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips

Arrays - Page 2

21-40 of 103     Previous     Next
Retrieving Only Unique Elements from Two Sets
by Mykola Rozhok
This algorithm helps you to retrieve all the elements contained in the first set (set1), but not in the second (set2).
Read the Entire Text Element
by Amit Jain
SAXParser's specifications allow parsers to split text data into multiple arrays and call characters multiple times.
Display itemdata in a ComboBox
by Nkata Levi
This code shows how to display specific itemdata in a ComboBox.
Using Sort with Arrays
by David Faden
This tip explains how to use STL's sort with an array and lists some of the advantages of STL's sort over qsort.
Increase Instance Capacity by Ten Percent
by Amit Jain
Find out how an undocumented feature of ArrayList can help you boost your instance capacity by ten percent.
Using the ostream_iterator()
by Saurabh Ramya
This iterator works in conjunction with STL algorithms, allowing you to perform a variety of actions besides merely reading the elements of a container.
Accept Multiple Arrays as Parameters
by Leng Dieb
This routine accepts multiple arrays as parameters.
Pass a Multi-dimensional Array to a Routine
by Leng Dieb
This code snippet demonstrates how to pass a multi-dimensional array to a routine in .NET.
Two Methods to Remove Duplicates in an ArrayList
by Vijayanandraj Amaladoss
Here are two methods that remove duplicates in an ArrayList.
Check for Duplicates in an ArrayList
by Vijayanandraj Amaladoss
Use this simple method to check for duplicates in an ArrayList.
All About Arrays
by Wael Salman
Getting the Length and Dimensions of an Array Object
by Amit Vij
Two-dimensional Arrays
by Wael Salman
Inserting Elements into Arrays
by Wael Salman
The Enhanced For Loop
by M.Fahim Zahid
Listing Files in a Directory with Perl
by Matt Crinklaw
SortedListFromHashtables - Creating a sorted list that combines the keys from 2 hashtables
by Francesco Balena
Create a case-insensitive sorted list that combines the keys from two hashtables Example: Dim slist As SortedList = SortedListFromHashtables(hashTable1, hashTable2)
Remove an Element in a Sorted Array
Remove an Element in a Sorted Array
ArrayCountOccurrences - Count the occurrences of a string within the input array
by Marco Bellinaso
Return the number of occurrences found in the input array, with the specified search options Example: Dim arr As String() = {"this is a string for my test", "test number 2", "another String", "do you like this string?", "I like running tests"} Debug.WriteLine("Number of occurrences for ...
ArrayShuffle - Shuffling the elements of an array of any type
by Francesco Balena
Example: Dim arr As Integer() = {3, 7, 8, 2, 0, 9} ArrayShuffle(arr) Dim o As Object For Each o In arr Debug.Write(o & " ") Next Debug.WriteLine("")
21-40 of 103     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date