Category: code
VBScript is a handy language to do some daily jobs in Windows. The VBScript language origins from BASIC, which can be dated back in the MSDOS era. The VBScript …
May 7, 2014
algorithms, code, code library, data structure, implementation, programming languages, sorting, VBA, vbscript, windows, windows scripting host
Among the simple sorting algorithms, the insertion sorting algorithm is my favourite. Insertion sort is simple to implement and gives an average quadratic O(n2) running time, like other simple …
In C/C++ header file stdlib.h there is a function strtol which will convert given string to a long int at the specified base. The function prototype takes three parameters. The first parameter …
In VBScript, the values are dynamic typed meaning that the values can be changed at runtime for any variable. For example, a numerical variable can be converted on the …
If we want to know whether a given string has repeated characters, the simplest way is to use the existing method of finding first occurrence from the end of …