Reverse Integer Snippets


This function is used to reverse an integer array. For example, if the array is {1,2,3,4,5}, these functions will return an array like {5,4,3,2,1}. The user needs to pass in a pointer to the array and the size of the array, and the function will return a pointer to an array in the reverse order.

10 June, 2017   

C++ source code useful string functions

23 February, 2015   

Some example useful C code of string functions

An example of a simple double linked list using OOP techniques

13 February, 2014   

Just got inspired last night and decided to start a class to get the screen in "blocks" and check which one has changed to update only those.

Returns the text between the specified delimiters in MySQL.

Returns the text between the specified delimiters in MySQL.

Example for using thousand separator (,) for decimal integer numbers

Example for using thousand separator (,) for decimal integer numbers

06 February, 2013   

Delphi code for Hexadecimal to Integer

28 April, 2011   

Over the years I have made quite a few software programs in Delphi, and inevitably I have also come up with many useful functions. Most of them I have never published on the Internet before, now I would like to list on blog. Part 1 are functions for managing integer or real numbers, they were written very early in 1997.

03 December, 2013   

Delphi code to return type of drive that contains the given (full) path.

20 March, 2018   

Converts the given hexadecimal string to an integer.

17 October, 2011   

Just create a new module called modEnumWindows in your project and copy this code into it. The function getWindowList does the trick.

Change Date from dd/mm/yyyy to yyyy-dd-mm

22 November, 2015   

To print out all possible subsets in lexicographic order

10 November, 2012   

It will return a string of words to represent the integer part of this value.

12 March, 2013   

Delphi code example to draw a gradient line

11 May, 2017   

The following code uses bitwise operators to determine if an unsigned integer, x, is a power of two.

Source code to convert an integer into binary representation