diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-B7482AEB-9E7E-5F9C-A69D-60E1FE82CCE1.dita
--- a/Symbian3/PDK/Source/GUID-B7482AEB-9E7E-5F9C-A69D-60E1FE82CCE1.dita Thu Mar 11 15:24:26 2010 +0000
+++ b/Symbian3/PDK/Source/GUID-B7482AEB-9E7E-5F9C-A69D-60E1FE82CCE1.dita Thu Mar 11 18:02:22 2010 +0000
@@ -1,211 +1,212 @@
-
-
-
-
-
- The example includes both simple dynamic arrays and extended dynamic arrays.
-You are likely to use simple dynamic arrays often. Extended dynamic arrays
-are combinations of element properties and storage types. The example implements the following operations for the Appends elements Inserts elements Accesses elements Removes elements Finds elements (in various
-ways) Sorts array Destroys the array Click on the following link to download
-the example: Download some additional files
-required by the example: View the source code: This example demonstrates how to construct
-and use the following types of dynamic arrays: CArrayFixFlat This
-example uses the The following operations are performed on this array: Append elements: The
-example uses the Insert elements: The
-example uses the Remove elements: The
-example uses the Sort elements: The
-example defines an array key to sort the array using the Swap two elements: The
-example implements the Find an element: The
-example implements the CArrayPtrFlat This example uses the The
-following operations are performed on this array: Append elements: The
-example uses the Insert elements: The
-example uses the Remove elements: The
-example uses the CArrayVarFlat This example uses the The
-following operations are performed on this array: Append elements: The
-example uses the Sort elements: The
-example defines an array key to sort the array using the CArrayPakFlat This example uses the The following operations are performed on this array: Append elements: The
-example uses the Find an element: The
-example defines an array key to find an element in the array using the RArray This example constructs a simple dynamic array
-called This
-example shows the following operations to this array: Append elements: The
-example performs the following steps: Appends the objects into the array using Displays the number of objects and prints each object present in the
-array. Insert elements: The
-example performs the following steps: Inserts the objects at a specified position using Passes the position of the object to the second parameter of Inserts objects in the beginning, middle, and at the end of the array. Displays the number of objects and prints each object present in the
-array. Access elements: The
-example accesses each object in the array and display into the console. Remove elements: The
-example removes an object at a specific position from the array using Find elements: The
-example performs the following steps: Finds the first object in the array that matches the specified object
-using Finds the last object in the array that matches the specified object
-using Finds the object using a binary search technique in the array, which
-matches the specified object using Finds the object using a binary search technique in the array, which
-matches the specified object using Finds the object using a binary search technique in the array, which
-matches the specified object using Finds the object using a binary search technique in the array, which
-matches the specified object using Sort elements: The
-example performs the following steps: Constructs two arrays of 64-bit signed integer type objects. Appends random objects to the first array using Inserts the data present in the first array to the second array. Sorts the element of second array using Destroy the array: The
-example performs the following steps: Destroys the array using delete operator. Closes the array and removes all the memory allocated to the array
-using RPointerArray This example constructs a simple dynamic
-array of pointers to objects called This
-example shows the following operations to this array: Append elements: The
-example performs the following steps: Appends the object pointers into the array using Displays the number of object pointers and prints each object pointer
-present in the array.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Insert elements: The -example performs the following steps:
Inserts the objects pointer at a specified position using
Passes the position of the object pointer to the second parameter of
Inserts object pointer at the beginning, in the middle, and at the -end of the array.
Displays the number of object pointers and prints each object pointer -present in the array.
Access elements: The -example accesses each object pointer in the array and displays it to the console.
Remove elements: The
-example removes an object pointer at a specific position from the array using
Find elements: The -example performs the following steps:
Finds the first object pointer in the array that matches the specified
-object using
Finds the last object pointer in the array that matches the specified
-object using
Finds the object pointer in the array that matches the specified object
-pointer, using
Sort elements: The -example performs the following steps:
Constructs two arrays of
Appends random objects to the first pointer array using
Inserts the data present in the first pointer array to the second pointer -array.
Sorts the element of the second pointer array using
Destroy the array: The -example performs the following steps:
Destroys and resets the pointer array using
Closes the pointer array and removes all the memory allocated to the
-array using
For
-the emulator, the example builds an executable file called
The example includes both simple dynamic arrays and extended dynamic arrays. +You are likely to use simple dynamic arrays often. Extended dynamic arrays +are combinations of element properties and storage types.
+The example implements the following operations for the
Appends elements
Inserts elements
Accesses elements
Removes elements
Finds elements (in various +ways)
Sorts array
Destroys the array
Click
+on the following link to download the example:
Download some additional files
+required by the example:
View the source code:
This +example demonstrates how to construct and use the following types of dynamic +arrays:
CArrayFixFlat
This example uses the
The following operations are performed +on this array:
Append elements: The
+example uses the
Insert elements: The
+example uses the
Remove elements: The
+example uses the
Sort elements: The
+example defines an array key to sort the array using the
Swap two elements: The
+example implements the
Find an element: The
+example implements the
CArrayPtrFlat
This example uses the
The +following operations are performed on this array:
Append elements: The
+example uses the
Insert elements: The
+example uses the
Remove elements: The
+example uses the
CArrayVarFlat
This example uses the
The +following operations are performed on this array:
Append elements: The
+example uses the
Sort elements: The
+example defines an array key to sort the array using the
CArrayPakFlat
This example uses the
The following operations are performed on this array:
Append elements: The
+example uses the
Find an element: The
+example defines an array key to find an element in the array using the
RArray
This example constructs a simple dynamic array
+called
This +example shows the following operations to this array:
Append elements: The +example performs the following steps:
Appends the objects into the array using
Displays the number of objects and prints each object present in the +array.
Insert elements: The +example performs the following steps:
Inserts the objects at a specified position using
Passes the position of the object to the second parameter of
Inserts objects in the beginning, middle, and at the end of the array.
Displays the number of objects and prints each object present in the +array.
Access elements: The +example accesses each object in the array and display into the console.
Remove elements: The
+example removes an object at a specific position from the array using
Find elements: The +example performs the following steps:
Finds the first object in the array that matches the specified object
+using
Finds the last object in the array that matches the specified object
+using
Finds the object using a binary search technique in the array, which
+matches the specified object using
Finds the object using a binary search technique in the array, which
+matches the specified object using
Finds the object using a binary search technique in the array, which
+matches the specified object using
Finds the object using a binary search technique in the array, which
+matches the specified object using
Sort elements: The +example performs the following steps:
Constructs two arrays of 64-bit signed integer type objects.
Appends random objects to the first array using
Inserts the data present in the first array to the second array.
Sorts the element of second array using
Destroy the array: The +example performs the following steps:
Destroys the array using delete operator.
Closes the array and removes all the memory allocated to the array
+using
RPointerArray
This example constructs a simple dynamic
+array of pointers to objects called
This +example shows the following operations to this array:
Append elements: The +example performs the following steps:
Appends the object pointers into the array using
Displays the number of object pointers and prints each object pointer +present in the array.
Insert elements: The +example performs the following steps:
Inserts the objects pointer at a specified position using
Passes the position of the object pointer to the second parameter of
Inserts object pointer at the beginning, in the middle, and at the +end of the array.
Displays the number of object pointers and prints each object pointer +present in the array.
Access elements: The +example accesses each object pointer in the array and displays it to the console.
Remove elements: The
+example removes an object pointer at a specific position from the array using
Find elements: The +example performs the following steps:
Finds the first object pointer in the array that matches the specified
+object using
Finds the last object pointer in the array that matches the specified
+object using
Finds the object pointer in the array that matches the specified object
+pointer, using
Sort elements: The +example performs the following steps:
Constructs two arrays of
Appends random objects to the first pointer array using
Inserts the data present in the first pointer array to the second pointer +array.
Sorts the element of the second pointer array using
Destroy the array: The +example performs the following steps:
Destroys and resets the pointer array using
Closes the pointer array and removes all the memory allocated to the
+array using
For the emulator, the example builds an
+executable file called