QuickSort – Sort Arrays using the QuickSort Algorithm
‘ QuickSort an array of any type’ QuickSort is especially convenient with large arrays (>1,000′ items) that contains items in random order. Its performance’ quickly degrades if the array is
‘ QuickSort an array of any type’ QuickSort is especially convenient with large arrays (>1,000′ items) that contains items in random order. Its performance’ quickly degrades if the array is
Private Declare Function LoadLibrary Lib “kernel32” Alias “LoadLibraryA” (ByVal _ lpLibFileName As String) As LongPrivate Declare Function GetProcAddress Lib “kernel32” (ByVal hModule As Long, _ ByVal lpProcName As String) As
‘ Return the volume label of a disk’ Pass a null string for the current diskFunction VolumeLabel(drive As String) As String Dim temp As String On Error Resume Next temp
‘ Bubble Sort an array of any type’ BubbleSort is especially convenient with small arrays (1,000′ items or fewer) or with arrays that are already almost sorted” NUMELS is the
‘ Indexed ShellSort of an array of any type” Indexed Sorts are sort procedures that sort an index array’ instead of the main array. You can then list the items
The canonical form of a copy constructor of a class C is: C::C(const C& rhs); You can also declare the copy constructor’s parameter as follows: C::C(C& rhs); //no const, OK
You can use SQLMAINT.EXE command-prompt utility to perform routine database maintenance activities. It can be used to run DBCC checks, to dump a database and its transaction log, to update
You can use the query governor advanced server configuration option to prevent long-running queries from executing, thus preventing system resources from being consumed for long. By default, this option allows
The use of the static keyword is deprecated when declaring objects in a namespace scope; the unnamed-namespace provides a superior alternative. Nonetheless, it is important to know how to define