Tag: implementation
In , random coloured squares are drawn on console using C++ based on CodePage 437. It is a pure native application and the compiled binary size is just around …
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 …